Skip to content

Commit

Permalink
chore: Resolve some deprecation warnings (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmohns authored Mar 15, 2024
1 parent a047ac5 commit 2a2e917
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 22 deletions.
8 changes: 4 additions & 4 deletions Website/ui/src/assets/sass/mpm/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,8 @@ $container-lg: $container-large-desktop !default;
$navbar-height: 50px !default;
$navbar-margin-bottom: $line-height-computed !default;
$navbar-border-radius: $border-radius-base !default;
$navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
$navbar-padding-vertical: (
$navbar-padding-horizontal: floor(calc($grid-gutter-width / 2)) !default;
$navbar-padding-vertical: calc(
($navbar-height - $line-height-computed) / 2
) !default;
$navbar-collapse-max-height: 340px !default;
Expand Down Expand Up @@ -941,8 +941,8 @@ $contrast-factor: 40% !default;
// inputs
$mdb-input-placeholder-color: #aaaaaa !default;
$mdb-input-underline-color: #d2d2d2 !default;
$mdb-label-static-size-ratio: 75 / 100 !default;
$mdb-help-block-size-ratio: 75 / 100 !default;
$mdb-label-static-size-ratio: calc(75 / 100) !default;
$mdb-help-block-size-ratio: calc(75 / 100) !default;

$mdb-input-font-size-base: 14px !default;
$mdb-input-font-size-large: ceil(($font-size-base * 1.25)) !default; // ~20px
Expand Down
36 changes: 18 additions & 18 deletions Website/ui/src/assets/sass/mpm/mixins/_chartist.scss
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
// Scales for responsive SVG containers
$ct-scales: (
(1),
(15/16),
(8/9),
(5/6),
(4/5),
(3/4),
(2/3),
(5/8),
(1/1.618),
(3/5),
(9/16),
(8/15),
(1/2),
(2/5),
(3/8),
(1/3),
(1/4)
calc(1),
calc(15 / 16),
calc(8 / 9),
calc(5 / 6),
calc(4 / 5),
calc(3 / 4),
calc(2 / 3),
calc(5 / 8),
calc(1 / 1.618),
calc(3 / 5),
calc(9 / 16),
calc(8 / 15),
calc(1 / 2),
calc(2 / 5),
calc(3 / 8),
calc(1 / 3),
calc(1 / 4)
) !default;
$ct-scales-names: (
ct-square,
Expand Down Expand Up @@ -60,7 +60,7 @@ $ct-class-start: ct-start !default;
$ct-class-end: ct-end !default;

// Container ratio
$ct-container-ratio: (1/1.618) !default;
$ct-container-ratio: calc(1 / 1.618) !default;

// Text styles for labels
$ct-text-color: rgba(0, 0, 0, 0.4) !default;
Expand Down
5 changes: 5 additions & 0 deletions Website/ui/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ module.exports = {
devServer: {
allowedHosts: 'all',
},
configureWebpack: {
performance: {
hints: false,
},
},
}

0 comments on commit 2a2e917

Please sign in to comment.