mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-06 06:19: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 {
|
table.hljs-ln tr td.hljs-ln-numbers {
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-khtml-user-select: none;
|
-khtml-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #5C6370;
|
color: #5C6370;
|
||||||
border-right: 1px solid #373E47;
|
border-right: 1px solid #373E47;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.hljs-ln tr td.hljs-ln-code {
|
table.hljs-ln tr td.hljs-ln-code {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
|
@ -6,7 +6,7 @@ qss_file=v_moonlight.qss
|
|||||||
mdhl_file=v_moonlight.mdhl
|
mdhl_file=v_moonlight.mdhl
|
||||||
css_file=v_moonlight.css
|
css_file=v_moonlight.css
|
||||||
codeblock_css_file=v_moonlight_codeblock.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
|
; 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.
|
; 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 {
|
table.hljs-ln tr td.hljs-ln-numbers {
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-khtml-user-select: none;
|
-khtml-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #AAA;
|
color: #AAA;
|
||||||
border-right: 1px solid #CCC;
|
border-right: 1px solid #CCC;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.hljs-ln tr td.hljs-ln-code {
|
table.hljs-ln tr td.hljs-ln-code {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
|
@ -6,7 +6,7 @@ qss_file=v_pure.qss
|
|||||||
mdhl_file=v_pure.mdhl
|
mdhl_file=v_pure.mdhl
|
||||||
css_file=v_pure.css
|
css_file=v_pure.css
|
||||||
codeblock_css_file=v_pure_codeblock.css
|
codeblock_css_file=v_pure_codeblock.css
|
||||||
version=2
|
version=3
|
||||||
|
|
||||||
[phony]
|
[phony]
|
||||||
; Abstract color attributes.
|
; Abstract color attributes.
|
||||||
|
@ -224,22 +224,23 @@ table.hljs-ln tr td {
|
|||||||
}
|
}
|
||||||
|
|
||||||
table.hljs-ln tr td.hljs-ln-numbers {
|
table.hljs-ln tr td.hljs-ln-numbers {
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-khtml-user-select: none;
|
-khtml-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #AAA;
|
color: #AAA;
|
||||||
border-right: 1px solid #CCC;
|
border-right: 1px solid #CCC;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.hljs-ln tr td.hljs-ln-code {
|
table.hljs-ln tr td.hljs-ln-code {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
|
@ -6,7 +6,7 @@ qss_file=v_white.qss
|
|||||||
mdhl_file=v_white.mdhl
|
mdhl_file=v_white.mdhl
|
||||||
css_file=v_white.css
|
css_file=v_white.css
|
||||||
codeblock_css_file=v_white_codeblock.css
|
codeblock_css_file=v_white_codeblock.css
|
||||||
version=2
|
version=3
|
||||||
|
|
||||||
[phony]
|
[phony]
|
||||||
; Abstract color attributes.
|
; Abstract color attributes.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user