mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 15:29:19 +08:00
theme: use --bpx1 consistently throughout CSS
This commit is contained in:
parent
4536404dc3
commit
cfd65dad08
@ -2241,7 +2241,7 @@ html[dir="rtl"] #R-sidebar ul.collapsible-menu > li > label > i.fa-chevron-right
|
||||
display: none;
|
||||
/* if setting a border to 1px, a browser instead sets it to 1dppx which is not
|
||||
usable as a unit yet, so we have to calculate it ourself */
|
||||
margin-top: calc( -1px / var(--bpx) );
|
||||
margin-top: calc( var(--bpx1)*-1px );
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user