1
0
Fork 0
forked from OpenNeo/impress

Tweak tab styles

Oh right, I just remembered how tabs work, they join with the page when
selected! lol

Something about this still feels off to me, but idk, I find it charming
and I wanna just let it rock.
This commit is contained in:
Emi Matchu 2024-01-21 07:17:10 -08:00
parent 501ea3db7d
commit 929c825b23

View file

@ -144,6 +144,7 @@
a a
display: block display: block
background: $module-bg-color
border: 1px solid $module-border-color border: 1px solid $module-border-color
border-bottom: 0 border-bottom: 0
border-radius: .5em .5em 0 0 border-radius: .5em .5em 0 0
@ -154,5 +155,7 @@
text-decoration: underline text-decoration: underline
&[data-is-current=true] &[data-is-current=true]
background: $module-bg-color background: $background-color
font-weight: bold padding-bottom: calc(.5em + 1px)
font-weight: bold
margin-bottom: -1px