diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-06-01 23:47:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-01 23:47:27 +0200 |
commit | be8079f63783691dd9fdec3f79b744a5bfdb2b0f (patch) | |
tree | 0c302f60efbe25f2d9eb582ebfb6e15be2667dce /app/javascript | |
parent | abf4c2ab214b0fee14d50af98263e5389e960ae3 (diff) |
Fix deprecated slash as division in SASS files (#16347)
Fixes #16293
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/styles/mastodon/widgets.scss | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/javascript/styles/mastodon/widgets.scss b/app/javascript/styles/mastodon/widgets.scss index f76ff18b3..4e03868a6 100644 --- a/app/javascript/styles/mastodon/widgets.scss +++ b/app/javascript/styles/mastodon/widgets.scss @@ -1,3 +1,5 @@ +@use "sass:math"; + .hero-widget { margin-bottom: 10px; box-shadow: 0 0 15px rgba($base-shadow-color, 0.2); @@ -498,10 +500,10 @@ $fluid-breakpoint: $maximum-width + 20px; } &__item { - width: (960px - 20px) / 3; + width: math.div(960px - 20px, 3); @media screen and (max-width: $fluid-breakpoint) { - width: (940px - 20px) / 3; + width: math.div(940px - 20px, 3); } @media screen and (max-width: 640px) { |