mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
set <a> to break-all
This commit is contained in:
parent
53c36b5a70
commit
ba13ac7dc3
@ -50,6 +50,7 @@ a {
|
||||
padding: 0;
|
||||
vertical-align: baseline;
|
||||
text-decoration: none;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
|
@ -49,10 +49,12 @@ a {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
vertical-align: baseline;
|
||||
text-decoration: none;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
text-decoration: underline;
|
||||
color: #ff6600;
|
||||
}
|
||||
|
||||
|
@ -48,10 +48,12 @@ a {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
vertical-align: baseline;
|
||||
text-decoration: none;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
text-decoration: underline;
|
||||
color: #ff6600;
|
||||
}
|
||||
|
||||
|
@ -125,7 +125,8 @@ QString VNote::generateHtmlTemplate(const QString &p_renderBg,
|
||||
"word-break: break-all !important; }\n"
|
||||
"pre code { white-space: pre-wrap !important; "
|
||||
"word-break: break-all !important; }\n"
|
||||
"code { word-break: break-all !important; }\n";
|
||||
"code { word-break: break-all !important; }\n"
|
||||
"a { word-break: break-all !important; }\n";
|
||||
if (!g_config->getEnableImageConstraint()) {
|
||||
// Constain the image width by force in PDF, otherwise, the PDF will
|
||||
// be cut off.
|
||||
|
Loading…
x
Reference in New Issue
Block a user