mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
theme: use --bpx1 consistently throughout CSS
This commit is contained in:
parent
4536404dc3
commit
cfd65dad08
1 changed files with 1 additions and 1 deletions
|
@ -2241,7 +2241,7 @@ html[dir="rtl"] #R-sidebar ul.collapsible-menu > li > label > i.fa-chevron-right
|
||||||
display: none;
|
display: none;
|
||||||
/* if setting a border to 1px, a browser instead sets it to 1dppx which is not
|
/* 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 */
|
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;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue