Fix usage of / in sass

This commit is contained in:
kolaente 2021-05-26 22:10:50 +02:00
parent 9c799ab161
commit 1fa42f047c
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 7 additions and 3 deletions

View file

@ -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 {

View file

@ -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);