diff options
author | Alexandre Flament <alex@al-f.net> | 2021-10-30 10:01:18 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-10-30 18:03:37 +0200 |
commit | 9f0b47f525aa2c7b00d8839201843eb05e3594a1 (patch) | |
tree | 809bdf787426507c93e0bbe34ba0384e600124fc /searx/static/themes/simple/src/less | |
parent | 46fde2e98e0fd55e947c3d9c1663f22e3d34bf1e (diff) | |
download | searxng-9f0b47f525aa2c7b00d8839201843eb05e3594a1.tar.gz searxng-9f0b47f525aa2c7b00d8839201843eb05e3594a1.zip |
[fix] simple theme: cookie table doesn't overflow the expected width
Diffstat (limited to 'searx/static/themes/simple/src/less')
-rw-r--r-- | searx/static/themes/simple/src/less/preferences.less | 17 |
1 files 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); } |