From 44642d648024b798cdfe7fa5188de8f363c04af5 Mon Sep 17 00:00:00 2001 From: ltGuillaume Date: Wed, 20 Jan 2021 00:14:54 +0100 Subject: [PATCH] Fix margins for narrow screens --- static/css/sepia.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/css/sepia.css b/static/css/sepia.css index fb813c2..acc22a7 100644 --- a/static/css/sepia.css +++ b/static/css/sepia.css @@ -59,9 +59,11 @@ body.sepia header .tabmenu li.active a { color: var(--headertext); } body.sepia #links { - margin: 4px 16px; /* Only when width has certain minimum */ + max-width: calc(100% - 32px); + margin: 4px 16px; } body.sepia #links .link { + width: calc(100% - 8px); margin: 8px 0; padding: 16px 8px 16px 0; background: var(--linkbg);