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:
@ -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 {
|
||||
|
@ -187,7 +187,7 @@ table.form-table {
|
||||
max-width: 100%;
|
||||
td {
|
||||
overflow: hidden;
|
||||
padding: $-xxs/2 0;
|
||||
padding: math.div($-xxs, 2) 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
@use "sass:math";
|
||||
@import "variables";
|
||||
@import "mixins";
|
||||
@import "html";
|
||||
|
@ -1,3 +1,4 @@
|
||||
@use "sass:math";
|
||||
@import "variables";
|
||||
|
||||
header {
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user