Skip to content

Commit

Permalink
Fix deprecation warnings
Browse files Browse the repository at this point in the history
Fixes:

>Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
  • Loading branch information
poiru committed Aug 7, 2024
1 parent 35da02f commit ddb9320
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions themes/rainmeter-www/source/css/components/block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
.sub-block {
width: 100%;
margin: 2rem auto;
padding-left: ($grid-gutter-width / 2);
padding-right: ($grid-gutter-width / 2);
padding-left: calc($grid-gutter-width / 2);
padding-right: calc($grid-gutter-width / 2);

svg {
width: 200px;
Expand Down
8 changes: 4 additions & 4 deletions themes/rainmeter-www/source/css/components/gallery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
text-align: center;

.col-12 {
padding-left: ($grid-gutter-width / 2);
padding-right: ($grid-gutter-width / 2);
padding-top: ($grid-gutter-width / 2);
padding-bottom: ($grid-gutter-width / 2);
padding-left: calc($grid-gutter-width / 2);
padding-right: calc($grid-gutter-width / 2);
padding-top: calc($grid-gutter-width / 2);
padding-bottom: calc($grid-gutter-width / 2);
}

a {
Expand Down

0 comments on commit ddb9320

Please sign in to comment.