From 6b7acc7eaf401b2d4fdf615543f4364fc77b9255 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Wed, 28 Aug 2024 03:10:06 +0200 Subject: Implement directory paging This allows directories with many files and directories inside them to be split into pages, in order to limit resource usage. --- style.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'style.c') 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; -- cgit v1.2.3