From 42264f402d2733fdf7e1260c6731455d85da12b1 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Fri, 27 Sep 2024 16:01:01 +0100 Subject: [PATCH] CSS: Fixed floating search icon on mobile Also updated styles to use logical elements instead of conditional rules for altered search boxes. Related to #2504 --- resources/sass/_forms.scss | 8 ++------ resources/views/search/all.blade.php | 4 +++- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/resources/sass/_forms.scss b/resources/sass/_forms.scss index a6f890e3c..67df41714 100644 --- a/resources/sass/_forms.scss +++ b/resources/sass/_forms.scss @@ -441,12 +441,8 @@ input[type=color] { padding: 0; cursor: pointer; position: absolute; - left: 8px; - top: 9px; - @include rtl { - right: 8px; - left: auto; - } + inset-inline-start: 8px; + top: 10px; } input { display: block; diff --git a/resources/views/search/all.blade.php b/resources/views/search/all.blade.php index 64325d4c1..2d410dbd1 100644 --- a/resources/views/search/all.blade.php +++ b/resources/views/search/all.blade.php @@ -79,7 +79,9 @@
{{ trans_choice('entities.search_total_results_found', $totalResults, ['count' => $totalResults]) }}