Fix usage of / in sass
This commit is contained in:
parent
9c799ab161
commit
1fa42f047c
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
@use "sass:math";
|
||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
||||||
|
@ -286,7 +288,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&.namespaces-lists {
|
&.namespaces-lists {
|
||||||
padding-top: $navbar-padding / 2;
|
padding-top: math.div($navbar-padding, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.loader-container.is-loading:after {
|
&.loader-container.is-loading:after {
|
||||||
|
@ -303,7 +305,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-menu {
|
.top-menu {
|
||||||
margin-top: $navbar-padding / 2;
|
margin-top: math.div($navbar-padding, 2);
|
||||||
|
|
||||||
.menu-list {
|
.menu-list {
|
||||||
li {
|
li {
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
|
@use "sass:math";
|
||||||
|
|
||||||
// Variables that are derived from bulma variables need to be included after them
|
// Variables that are derived from bulma variables need to be included after them
|
||||||
$mobile: $tablet / 2;
|
$mobile: math.div($tablet, 2);
|
||||||
|
|
Loading…
Reference in a new issue