From 9f0b47f525aa2c7b00d8839201843eb05e3594a1 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Sat, 30 Oct 2021 10:01:18 +0200 Subject: [PATCH] [fix] simple theme: cookie table doesn't overflow the expected width --- .../themes/simple/src/less/preferences.less | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/searx/static/themes/simple/src/less/preferences.less b/searx/static/themes/simple/src/less/preferences.less index 70edc3c8f..e0e3dec4b 100644 --- a/searx/static/themes/simple/src/less/preferences.less +++ b/searx/static/themes/simple/src/less/preferences.less @@ -52,17 +52,25 @@ } table.cookies { - width: auto; + width: 100%; th, td { text-align: left; - padding: 0.25em; + font-family: monospace; + font-size: 1rem; + padding: 0.5em; + vertical-align: top; } - th:first-child, td:first-child { - padding-right: 4em; + word-break: keep-all; + width: 14rem; + padding-right: 1rem; + } + + td:last-child { + word-break: break-all; } & > tbody > tr:nth-child(even) > th, @@ -88,7 +96,6 @@ padding: 0.7em; a { - display: block; color: var(--color-settings-return-font); }