about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-06-01 23:47:27 +0200
committerClaire <claire.github-309c@sitedethib.com>2021-06-03 21:06:16 +0200
commitfa383531a753d62a321c48f49f7cf4706bb5cdac (patch)
tree1770f078e015e7be7eb85839185674c77d4354bc /app
parentd2c9f39c0bb71acb927b4bb75f7a98d5df733697 (diff)
[Glitch] Fix deprecated slash as division in SASS files
Port be8079f63783691dd9fdec3f79b744a5bfdb2b0f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/styles/widgets.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/styles/widgets.scss b/app/javascript/flavours/glitch/styles/widgets.scss
index 05bc076ea..06bf55e1e 100644
--- a/app/javascript/flavours/glitch/styles/widgets.scss
+++ b/app/javascript/flavours/glitch/styles/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);
@@ -489,10 +491,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) {