Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Use calc instead of sass math

Michael Shamoon0d610e364c4f
diff --git a/src-ui/src/app/components/document-list/document-list.component.scss b/src-ui/src/app/components/document-list/document-list.component.scss
index 0ef495cd8..a14158f77 100644
--- a/src-ui/src/app/components/document-list/document-list.component.scss
+++ b/src-ui/src/app/components/document-list/document-list.component.scss
@@ -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);
}
}
}