Skip to content

Commit 4933d24

Browse files
author
Adam Argyle
committed
better legibility
1 parent 84ea0c7 commit 4933d24

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/css/sidebar.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
nav {
22
background: var(--surface);
3-
text-align: end;
43
display: flex;
54
gap: 1ch;
65
padding: 3ch;
@@ -88,7 +87,7 @@ dl {
8887
&:matches(:hover,:focus-within)::after {
8988
content: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' fill='deeppink' viewBox='0 0 24 24'><path d='M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z'/></svg>");
9089
position: absolute;
91-
inset: 1px 0 0 calc(100% + .5em);
90+
inset: 0 0 0 -1.75ch;
9291
block-size: .75em;
9392
inline-size: .75em;
9493
}

0 commit comments

Comments
 (0)