mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-03-03 21:26:15 +08:00
CSS: Fixed floating search icon on mobile
Some checks failed
analyse-php / build (push) Waiting to run
lint-php / build (push) Waiting to run
test-migrations / build (8.1) (push) Waiting to run
test-migrations / build (8.2) (push) Waiting to run
test-migrations / build (8.3) (push) Waiting to run
test-php / build (8.1) (push) Waiting to run
test-php / build (8.2) (push) Waiting to run
test-php / build (8.3) (push) Waiting to run
lint-js / build (push) Has been cancelled
test-js / build (push) Has been cancelled
Some checks failed
analyse-php / build (push) Waiting to run
lint-php / build (push) Waiting to run
test-migrations / build (8.1) (push) Waiting to run
test-migrations / build (8.2) (push) Waiting to run
test-migrations / build (8.3) (push) Waiting to run
test-php / build (8.1) (push) Waiting to run
test-php / build (8.2) (push) Waiting to run
test-php / build (8.3) (push) Waiting to run
lint-js / build (push) Has been cancelled
test-js / build (push) Has been cancelled
Also updated styles to use logical elements instead of conditional rules for altered search boxes. Related to #2504
This commit is contained in:
parent
abda9bc00a
commit
42264f402d
@ -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;
|
||||
|
@ -79,7 +79,9 @@
|
||||
|
||||
<form action="{{ url('/search') }}" method="GET" class="search-box flexible hide-over-l">
|
||||
<input value="{{$searchTerm}}" type="text" name="term" placeholder="{{ trans('common.search') }}">
|
||||
<button type="submit">@icon('search')</button>
|
||||
<button type="submit"
|
||||
aria-label="{{ trans('common.search') }}"
|
||||
tabindex="-1">@icon('search')</button>
|
||||
</form>
|
||||
|
||||
<h6 class="text-muted">{{ trans_choice('entities.search_total_results_found', $totalResults, ['count' => $totalResults]) }}</h6>
|
||||
|
Loading…
x
Reference in New Issue
Block a user