mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
bug-fix: fix word-wrap bug in code block line number when exporting PDF
This commit is contained in:
parent
76ff1ff756
commit
956a8ab1d0
@ -224,22 +224,23 @@ table.hljs-ln tr td {
|
||||
}
|
||||
|
||||
table.hljs-ln tr td.hljs-ln-numbers {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
text-align: center;
|
||||
color: #5C6370;
|
||||
border-right: 1px solid #373E47;
|
||||
vertical-align: top;
|
||||
padding-right: 5px;
|
||||
text-align: center;
|
||||
color: #5C6370;
|
||||
border-right: 1px solid #373E47;
|
||||
vertical-align: top;
|
||||
padding-right: 5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table.hljs-ln tr td.hljs-ln-code {
|
||||
padding-left: 10px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
|
@ -6,7 +6,7 @@ qss_file=v_moonlight.qss
|
||||
mdhl_file=v_moonlight.mdhl
|
||||
css_file=v_moonlight.css
|
||||
codeblock_css_file=v_moonlight_codeblock.css
|
||||
version=2
|
||||
version=3
|
||||
|
||||
; This mapping will be used to translate colors when the content of HTML is copied
|
||||
; without background. You could just specify the foreground colors mapping here.
|
||||
|
@ -226,22 +226,23 @@ table.hljs-ln tr td {
|
||||
}
|
||||
|
||||
table.hljs-ln tr td.hljs-ln-numbers {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
text-align: center;
|
||||
color: #AAA;
|
||||
border-right: 1px solid #CCC;
|
||||
vertical-align: top;
|
||||
padding-right: 5px;
|
||||
text-align: center;
|
||||
color: #AAA;
|
||||
border-right: 1px solid #CCC;
|
||||
vertical-align: top;
|
||||
padding-right: 5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table.hljs-ln tr td.hljs-ln-code {
|
||||
padding-left: 10px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
|
@ -6,7 +6,7 @@ qss_file=v_pure.qss
|
||||
mdhl_file=v_pure.mdhl
|
||||
css_file=v_pure.css
|
||||
codeblock_css_file=v_pure_codeblock.css
|
||||
version=2
|
||||
version=3
|
||||
|
||||
[phony]
|
||||
; Abstract color attributes.
|
||||
|
@ -224,22 +224,23 @@ table.hljs-ln tr td {
|
||||
}
|
||||
|
||||
table.hljs-ln tr td.hljs-ln-numbers {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
text-align: center;
|
||||
color: #AAA;
|
||||
border-right: 1px solid #CCC;
|
||||
vertical-align: top;
|
||||
padding-right: 5px;
|
||||
text-align: center;
|
||||
color: #AAA;
|
||||
border-right: 1px solid #CCC;
|
||||
vertical-align: top;
|
||||
padding-right: 5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table.hljs-ln tr td.hljs-ln-code {
|
||||
padding-left: 10px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
|
@ -6,7 +6,7 @@ qss_file=v_white.qss
|
||||
mdhl_file=v_white.mdhl
|
||||
css_file=v_white.css
|
||||
codeblock_css_file=v_white_codeblock.css
|
||||
version=2
|
||||
version=3
|
||||
|
||||
[phony]
|
||||
; Abstract color attributes.
|
||||
|
Loading…
x
Reference in New Issue
Block a user