From 2cacc560d6573758dc72b7c44c0a24b960d160d3 Mon Sep 17 00:00:00 2001 From: mrpaulblack Date: Wed, 16 Oct 2024 17:16:06 +0200 Subject: [PATCH] [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 --- searx/static/themes/simple/src/less/definitions.less | 2 +- searx/static/themes/simple/src/less/style.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 {