From 594c660d8602a9aeb73f7097d94c5d88334aa40c Mon Sep 17 00:00:00 2001 From: sinejespersen Date: Tue, 23 Sep 2025 10:13:51 +0200 Subject: [PATCH 1/2] 5529: move list components around in the ui, style delete search button --- assets/admin/app.scss | 9 +- assets/admin/components/util/list/list.jsx | 92 +++++++++---------- .../components/util/search-box/search-box.jsx | 4 +- 3 files changed, 53 insertions(+), 52 deletions(-) diff --git a/assets/admin/app.scss b/assets/admin/app.scss index 99e2130b..540ea0a0 100644 --- a/assets/admin/app.scss +++ b/assets/admin/app.scss @@ -19,8 +19,6 @@ body { height: 100vh; height: -webkit-fill-available; max-height: 100vh; - // overflow-x: auto; - // overflow-y: hidden; // TODO: Why was this added? } // To make multicomponent look like bootstrap for now @@ -143,3 +141,10 @@ body { right: 0; margin: 2em; } + +.delete-search-button { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + border-color: var(--bs-border-color); + background-color: var(--bs-tertiary-bg); +} diff --git a/assets/admin/components/util/list/list.jsx b/assets/admin/components/util/list/list.jsx index 9a0f127c..68c46331 100644 --- a/assets/admin/components/util/list/list.jsx +++ b/assets/admin/components/util/list/list.jsx @@ -244,15 +244,15 @@ function List({ return ( <> - - - {displaySearch && ( - - )} - - <> - {enableScreenStatus && ( - +
+ + + {displaySearch && ( + + )} + + + {enableScreenStatus && (