mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixes a bunch of warnings in the webpack process stemming from the use of the now deprecated division operator.
This commit is contained in:
parent
bbef9acaf6
commit
92741680b5
@ -3,13 +3,13 @@
|
||||
}
|
||||
|
||||
.dashboard-container {
|
||||
padding-top: $grid-gutter-width/2;
|
||||
padding-bottom: $grid-gutter-width/2;
|
||||
padding-top: math.div($grid-gutter-width, 2);
|
||||
padding-bottom: math.div($grid-gutter-width, 2);
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.dashboard-row {
|
||||
margin-bottom: $grid-gutter-width/2;
|
||||
margin-bottom: math.div($grid-gutter-width, 2);
|
||||
}
|
||||
|
||||
.graph-error {
|
||||
|
@ -12,8 +12,8 @@
|
||||
%grid-column {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-right: ($gutter / 2);
|
||||
padding-left: ($gutter / 2);
|
||||
padding-right: math.div($gutter, 2);
|
||||
padding-left: math.div($gutter, 2);
|
||||
}
|
||||
|
||||
@each $breakpoint in map-keys($breakpoints) {
|
||||
|
@ -194,7 +194,7 @@
|
||||
}
|
||||
|
||||
.wcFrameEdgeN, .wcFrameEdgeS {
|
||||
height: $splitter-hover-width/2 + 1;
|
||||
height: math.div($splitter-hover-width, 2) + 1;
|
||||
}
|
||||
|
||||
.wcFrameEdgeN {
|
||||
@ -206,7 +206,7 @@
|
||||
}
|
||||
|
||||
.wcFrameEdgeW, .wcFrameEdgeE {
|
||||
width: $splitter-hover-width/2 + 1;
|
||||
width: math.div($splitter-hover-width, 2) + 1;
|
||||
}
|
||||
|
||||
.wcFrameEdgeW {
|
||||
|
@ -64,7 +64,7 @@ $font-family-base: $font-family-primary;
|
||||
$body-color: $color-fg;
|
||||
$font-size-base: 0.875rem;
|
||||
$line-height-base: 1.5;
|
||||
$text-height-calc: $line-height-base*$font-size-base/1rem;
|
||||
$text-height-calc: math.div($line-height-base*$font-size-base, 1rem);
|
||||
$grid-gutter-width: 15px;
|
||||
$border-radius: 0.25rem;
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* All the global variables, mixins goes here */
|
||||
@use "sass:math";
|
||||
@import 'default.variables.scss';
|
||||
@import 'default.style.scss';
|
||||
|
Loading…
Reference in New Issue
Block a user