Skip to content

Commit 71f4089

Browse files
committed
css change
1 parent 06cde0d commit 71f4089

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

js/scrapboxCssScript.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,16 @@ const indentColorCSS = [
7070
content: " ";
7171
position: absolute;
7272
left: 44%;
73-
top: -24%;
74-
border-left: 0.2rem solid #dcdcdc;
73+
border-left: 2px solid #dcdcdc;
74+
z-index: 999;
75+
}`,
76+
`.app:not(.presentation) .indent-mark .char-index:not(:nth-last-child(1)):not(:nth-last-child(2))::after {
77+
background-color: #f5f5f5;
78+
content: " ";
79+
width: 24px;
80+
left: 0;
81+
position: absolute;
7582
}`,
76-
`.app:not(.presentation) .indent-mark .char-index:not(:nth-last-child(1)):not(:nth-last-child(2)):nth-child(n) { background-color: #f5f5f5 }`,
7783
];
7884

7985
const insertIndentColorCSSRule = (isColoring) => {

0 commit comments

Comments
 (0)