1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 04:01:40 +01:00

[fix] simple theme: unset width for images on mobile layout

* fix fallout from 2fbedc4316
-> similar to 14fb187548
* change: set image height to 10rem
-> this is in my opinion more sensible size for mobile
This commit is contained in:
mrpaulblack 2024-10-16 17:16:06 +02:00 committed by Markus Heiser
parent 058a072404
commit 2cacc560d6
2 changed files with 2 additions and 1 deletions

View File

@ -277,7 +277,7 @@
@results-margin: 0.125rem; @results-margin: 0.125rem;
@result-padding: 1rem; @result-padding: 1rem;
@results-image-row-height: 12rem; @results-image-row-height: 12rem;
@results-image-row-height-phone: 6rem; @results-image-row-height-phone: 10rem;
@search-width: 44rem; @search-width: 44rem;
// heigh of #search, see detail.less // heigh of #search, see detail.less
@search-height: 7.6rem; @search-height: 7.6rem;

View File

@ -1108,6 +1108,7 @@ summary.title {
margin: 0; margin: 0;
height: @results-image-row-height-phone; height: @results-image-row-height-phone;
background: var(--color-base-background-mobile); background: var(--color-base-background-mobile);
width: unset;
} }
.infobox { .infobox {