From c082689471f799b9f22ffee4c96db26e5b94804f Mon Sep 17 00:00:00 2001 From: HesterG Date: Wed, 28 Jun 2023 20:10:36 +0800 Subject: [PATCH] Use flex instead of float for sort button and search input (#25519) Right now some sort buttons beside search input are unclickable because #25338 removed `max-width` and the sort button is using float, sort button is then covered by the `input`. The way to fix this in this PR is changing the layout to `flex` and put `input form` and sort `button` into `secondary menu`. After: Screen Shot 2023-06-26 at 16 40 52 Screen Shot 2023-06-26 at 16 34 06 Screen Shot 2023-06-26 at 16 34 22 Screen Shot 2023-06-26 at 16 34 32 Screen Shot 2023-06-26 at 16 35 21 Screen Shot 2023-06-26 at 16 36 14 --- templates/admin/base/search.tmpl | 18 +++++++++--------- templates/admin/emails/list.tmpl | 18 +++++++++--------- templates/admin/repo/search.tmpl | 16 ++++++++-------- templates/code/searchform.tmpl | 2 +- templates/explore/repo_search.tmpl | 30 +++++++++++++++--------------- templates/explore/search.tmpl | 18 +++++++++--------- 6 files changed, 51 insertions(+), 51 deletions(-) diff --git a/templates/admin/base/search.tmpl b/templates/admin/base/search.tmpl index bc684e7657..19977f05a9 100644 --- a/templates/admin/base/search.tmpl +++ b/templates/admin/base/search.tmpl @@ -1,6 +1,12 @@ -