diff options
author | mrpaulblack <paul@paulgo.io> | 2024-10-16 17:16:06 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-10-16 19:46:36 +0200 |
commit | 2cacc560d6573758dc72b7c44c0a24b960d160d3 (patch) | |
tree | ce41edd1bbf6d69eac3d1d5b5561d1056555d450 | |
parent | 058a072404a4e9ec4c5a0a957fe06ce66e652938 (diff) | |
download | searxng-2cacc560d6573758dc72b7c44c0a24b960d160d3.tar.gz searxng-2cacc560d6573758dc72b7c44c0a24b960d160d3.zip |
[fix] simple theme: unset width for images on mobile layout
* fix fallout from 2fbedc4316b4e8a8bce8bb9506f59aa61e1a2666
-> similar to 14fb187548a58144c5cd13c9292fcc52f5a025c5
* change: set image height to 10rem
-> this is in my opinion more sensible size for mobile
-rw-r--r-- | searx/static/themes/simple/src/less/definitions.less | 2 | ||||
-rw-r--r-- | searx/static/themes/simple/src/less/style.less | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/searx/static/themes/simple/src/less/definitions.less b/searx/static/themes/simple/src/less/definitions.less index cf3930c99..eb5f947f2 100644 --- a/searx/static/themes/simple/src/less/definitions.less +++ b/searx/static/themes/simple/src/less/definitions.less @@ -277,7 +277,7 @@ @results-margin: 0.125rem; @result-padding: 1rem; @results-image-row-height: 12rem; -@results-image-row-height-phone: 6rem; +@results-image-row-height-phone: 10rem; @search-width: 44rem; // heigh of #search, see detail.less @search-height: 7.6rem; diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less index 4ca896a03..cbc722894 100644 --- a/searx/static/themes/simple/src/less/style.less +++ b/searx/static/themes/simple/src/less/style.less @@ -1108,6 +1108,7 @@ summary.title { margin: 0; height: @results-image-row-height-phone; background: var(--color-base-background-mobile); + width: unset; } .infobox { |