]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Use calc instead of sass math 65/head
authorMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Mon, 21 Feb 2022 16:50:50 +0000 (08:50 -0800)
committerMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Mon, 21 Feb 2022 16:50:50 +0000 (08:50 -0800)
src-ui/src/app/components/document-list/document-list.component.scss

index 0ef495cd89d6af6f23bf16d97c6541a71ca3b222..a14158f77466f81b1bfddeae221a054108f22989 100644 (file)
@@ -1,4 +1,3 @@
-@use "sass:math";
 @import "/src/theme";
 
 tr {
@@ -25,7 +24,7 @@ $paperless-card-breakpoints: (
     @media(min-width: $width) {
       > * {
         flex: 0 0 auto;
-        width: math.div(100%, $n-cols);
+        width: calc(100% / $n-cols);
       }
     }
   }