diff options
-rw-r--r-- | framework/src/domain/mime/partmodel.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/framework/src/domain/mime/partmodel.cpp b/framework/src/domain/mime/partmodel.cpp index 6a0b4de2..e5260f26 100644 --- a/framework/src/domain/mime/partmodel.cpp +++ b/framework/src/domain/mime/partmodel.cpp | |||
@@ -120,15 +120,17 @@ static QString addCss(const QString &s) | |||
120 | //Get the default font from QApplication | 120 | //Get the default font from QApplication |
121 | static const auto fontFamily = QFont{}.family(); | 121 | static const auto fontFamily = QFont{}.family(); |
122 | //overflow:hidden ensures no scrollbars are ever shown. | 122 | //overflow:hidden ensures no scrollbars are ever shown. |
123 | static const auto css = QString("<style>\n" | 123 | static const auto css = QString("<style>\n") |
124 | "body {\n" | 124 | + QString("body {\n" |
125 | " overflow:hidden;\n" | 125 | " overflow:hidden;\n" |
126 | " font-family: \"%1\" ! important;\n" | 126 | " font-family: \"%1\" ! important;\n" |
127 | " color: #31363b ! important;\n" | 127 | " color: #31363b ! important;\n" |
128 | " background-color: #fcfcfc ! important\n" | 128 | " background-color: #fcfcfc ! important\n" |
129 | "}\n" | 129 | "}\n").arg(fontFamily) |
130 | "</style>") | 130 | + QString("blockquote { \n" |
131 | .arg(fontFamily); | 131 | " border-left: 2px solid #bdc3c7 ! important;\n" |
132 | "}\n") | ||
133 | + QString("</style>"); | ||
132 | 134 | ||
133 | const auto header = QLatin1String("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n" | 135 | const auto header = QLatin1String("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n" |
134 | "<html><head><title></title>") | 136 | "<html><head><title></title>") |