diff options
| author | Fredrik Ekdahl <fekdahl@gmail.com> | 2026-03-07 23:48:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-07 22:48:44 +0000 |
| commit | c40a98173f941136d8fc32bd27b9f9859ae8f443 (patch) | |
| tree | 4cbf25314fbd6b1a2a1cd154f0c0f1436609da9f | |
| parent | 2b56cf1b5f2a1ffc5f733808d2e039b6e51c05db (diff) | |
| download | webtrees-c40a98173f941136d8fc32bd27b9f9859ae8f443.tar.gz webtrees-c40a98173f941136d8fc32bd27b9f9859ae8f443.tar.bz2 webtrees-c40a98173f941136d8fc32bd27b9f9859ae8f443.zip | |
Fix rounded left corners on quick-search (#5333)
Move quick-search label outside of the input-group to make the input element the first, which makes sure that the bootstrap CCS corner-radius rule is applied.
| -rw-r--r-- | resources/views/layouts/default.phtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/views/layouts/default.phtml b/resources/views/layouts/default.phtml index aec11b7afc..ae27c2a34f 100644 --- a/resources/views/layouts/default.phtml +++ b/resources/views/layouts/default.phtml @@ -84,9 +84,9 @@ use Psr\Http\Message\ServerRequestInterface; <div class="col wt-header-search"> <form method="post" action="<?= e(route(SearchQuickAction::class, ['tree' => $tree->name()])) ?>" class="wt-header-search-form" role="search"> - <div class="input-group"> - <label class="visually-hidden" for="quick-search"><?= I18N::translate('Search') ?></label> + <label class="visually-hidden" for="quick-search"><?= I18N::translate('Search') ?></label> + <div class="input-group"> <input type="search" class="form-control wt-header-search-field" id="quick-search" name="query" size="15" placeholder="<?= I18N::translate('Search') ?>"> <button type="submit" class="btn btn-primary wt-header-search-button" aria-label="<?= I18N::translate('Search') ?>"> |
