Skip to content

Commit 1bd8ccb

Browse files
committed
Tweak code block label style
1 parent 935e78c commit 1bd8ccb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sass/style.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,14 @@ pre {
8787
}
8888

8989
&[data-name] {
90+
padding-top: 1.8em;
9091
position: relative;
9192
}
9293

9394
&[data-name]::before {
9495
position: absolute;
9596
top: 0;
96-
right: 0;
97+
left: 0;
9798

9899
padding-inline: 0.3em;
99100

0 commit comments

Comments
 (0)