From 6ee09114eb39a3b3bf54695b011ea00f0a6fe9d4 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Sun, 19 May 2024 20:54:36 +0200 Subject: [PATCH] Better Kiwix Server taskbar home button max-width --- static/skin/taskbar.css | 2 +- test/server.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/skin/taskbar.css b/static/skin/taskbar.css index 48678044b..f54a99b34 100644 --- a/static/skin/taskbar.css +++ b/static/skin/taskbar.css @@ -38,7 +38,7 @@ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - max-width: 160px; + max-width: 30ch; } .kiwix .kiwix_centered { diff --git a/test/server.cpp b/test/server.cpp index 61e552fb4..0a91eb72f 100644 --- a/test/server.cpp +++ b/test/server.cpp @@ -73,7 +73,7 @@ const ResourceCollection resources200Compressible{ { DYNAMIC_CONTENT, "/ROOT%23%3F/skin/mustache.min.js" }, { STATIC_CONTENT, "/ROOT%23%3F/skin/mustache.min.js?cacheid=bd23c4fb" }, { DYNAMIC_CONTENT, "/ROOT%23%3F/skin/taskbar.css" }, - { STATIC_CONTENT, "/ROOT%23%3F/skin/taskbar.css?cacheid=e014a885" }, + { STATIC_CONTENT, "/ROOT%23%3F/skin/taskbar.css?cacheid=80d56607" }, { DYNAMIC_CONTENT, "/ROOT%23%3F/skin/viewer.js" }, { STATIC_CONTENT, "/ROOT%23%3F/skin/viewer.js?cacheid=5fc4badf" }, { DYNAMIC_CONTENT, "/ROOT%23%3F/skin/fonts/Poppins.ttf" }, @@ -319,7 +319,7 @@ R"EXPECTEDRESULT( - +