Add more card columns on very large screens

This commit is contained in:
Michael Shamoon
2020-12-16 16:18:41 -08:00
parent 677cfb7a1e
commit fbca412d30
2 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
$paperless-card-breakpoints: (
0: 2, // xs
768px: 3, //md
992px: 4, //lg
1200px: 5, //xl
1400px: 6, // xxl
1600px: 7,
1800px: 8,
2000px: 9
);
.row-cols-paperless-cards {
@each $width, $n_cols in $paperless-card-breakpoints {
@media(min-width: $width) {
> * {
flex: 0 0 auto;
width: 100% / $n_cols;
}
}
}
}