aboutsummaryrefslogtreecommitdiff
path: root/style.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-08-28 03:10:06 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-08-28 03:57:27 +0200
commit6b7acc7eaf401b2d4fdf615543f4364fc77b9255 (patch)
tree925d9fe21989290b6ab8b5fc6ab16d672bda44d9 /style.c
parent49d8e4397a80ab373737b8baf4588bef5bfa717f (diff)
downloadslcl-6b7acc7eaf401b2d4fdf615543f4364fc77b9255.tar.gz
Implement directory paging
This allows directories with many files and directories inside them to be split into pages, in order to limit resource usage.
Diffstat (limited to 'style.c')
-rw-r--r--style.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/style.c b/style.c
index 07feb44..f10d296 100644
--- a/style.c
+++ b/style.c
@@ -50,6 +50,14 @@ const char style_default[] =
"tr:nth-child(even)\n"
"{\n"
" background-color: lightgray;\n"
+ "}\n"
+ ".page\n"
+ "{\n"
+ " margin: 0.2rem;\n"
+ "}\n"
+ ".pages\n"
+ "{\n"
+ " display: flex;\n"
"}\n";
const size_t style_default_len = sizeof style_default - 1;