1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Upgraded php and npm deps

- Sass upgrade had some breaking changes where division was used
hence updated for newer sass version support.
This commit is contained in:
Dan Brown
2021-05-29 13:08:28 +01:00
parent ed6ec341df
commit d62cdd58d3
8 changed files with 261 additions and 256 deletions

View File

@ -190,7 +190,7 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
float: left;
margin: 0;
cursor: pointer;
width: (100%/6);
width: math.div(100%, 6);
height: auto;
@include lightDark(border-color, #ddd, #000);
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
@ -219,7 +219,7 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
}
}
@include smaller-than($xl) {
width: (100%/4);
width: math.div(100%, 4);
}
@include smaller-than($m) {
.image-meta {

View File

@ -187,7 +187,7 @@ table.form-table {
max-width: 100%;
td {
overflow: hidden;
padding: $-xxs/2 0;
padding: math.div($-xxs, 2) 0;
}
}

View File

@ -1,3 +1,4 @@
@use "sass:math";
@import "variables";
@import "mixins";
@import "html";

View File

@ -1,3 +1,4 @@
@use "sass:math";
@import "variables";
header {

View File

@ -1,3 +1,5 @@
@use "sass:math";
@import "reset";
@import "variables";
@import "mixins";
@ -109,8 +111,8 @@ $btt-size: 40px;
color: #FFF;
fill: #FFF;
svg {
width: $btt-size / 1.5;
height: $btt-size / 1.5;
width: math.div($btt-size, 1.5);
height: math.div($btt-size, 1.5);
margin-inline-end: 4px;
}
width: $btt-size;