summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-10-30 10:01:18 +0200
committerAlexandre Flament <alex@al-f.net>2021-10-30 18:03:37 +0200
commit9f0b47f525aa2c7b00d8839201843eb05e3594a1 (patch)
tree809bdf787426507c93e0bbe34ba0384e600124fc /searx/static/themes/simple/src/less
parent46fde2e98e0fd55e947c3d9c1663f22e3d34bf1e (diff)
downloadsearxng-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.less17
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);
}