Lets the user specify number of items per row, fixes #7

Ussage: Under `displayData` for a given section, specify `layout: grid`, and then to set the number of horizontal items, use `itemCountX: 3`. You can also set `itemCountY` for number of items vertically, but this can be infered automatically if left blank.
This commit is contained in:
Alicia Sykes
2021-05-31 13:25:29 +01:00
parent 9020caa4e3
commit 10ec99d742
4 changed files with 52 additions and 7 deletions

View File

@@ -35,7 +35,7 @@
--outline-color: none;
--curve-factor: 5px; // Border radius for most components
--curve-factor-navbar: 16px; // Border radius for header
--dimming-factor: 0.8; // Opacity for semi-transparent components
--dimming-factor: 0.7; // Opacity for semi-transparent components
/* Settings for specific components */
--item-group-padding: 5px; // Determines width of item-group outline