refactor: update deprecated syntax for SASS division
This commit is contained in:
parent
09e4ad245b
commit
d7bcb40cde
1 changed files with 2 additions and 2 deletions
|
@ -816,7 +816,7 @@ $sidebar-display: "sidebar-display";
|
||||||
&:last-child {
|
&:last-child {
|
||||||
a {
|
a {
|
||||||
position: relative;
|
position: relative;
|
||||||
left: $cursor-width / 2;
|
left: calc($cursor-width / 2);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -842,7 +842,7 @@ $sidebar-display: "sidebar-display";
|
||||||
|
|
||||||
@for $i from 1 through $tab-count {
|
@for $i from 1 through $tab-count {
|
||||||
$offset: $tab-count - $i;
|
$offset: $tab-count - $i;
|
||||||
$top: -$offset * $tab-height + ($tab-height - $tab-cursor-height) / 2;
|
$top: -$offset * $tab-height + calc(($tab-height - $tab-cursor-height) / 2);
|
||||||
|
|
||||||
@if $i < $tab-count {
|
@if $i < $tab-count {
|
||||||
> li.active:nth-child(#{$i}),
|
> li.active:nth-child(#{$i}),
|
||||||
|
|
Loading…
Reference in a new issue