Skip to content

Commit f456426

Browse files
style: more graceful alignment and dark mode
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent 25358ec commit f456426

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/components/Snippets/styles.module.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
}
3737

3838
.btn {
39+
display: flex;
40+
flex-direction: column;
41+
3942
border-width: 4px;
4043
max-width: 100%;
4144
white-space: pre-wrap;
@@ -117,12 +120,12 @@
117120
}
118121

119122
html[data-theme="dark"] & {
120-
background: white;
121-
color: black;
123+
background: black;
124+
color: white;
122125

123126
&:hover,
124127
&:focus {
125-
background: white;
128+
background: black;
126129
border-color: #7888ff;
127130
}
128131
}

0 commit comments

Comments
 (0)