From 3ec550f7e0bd8ff671d1d34b985aa394365bcbd8 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 22 Apr 2024 15:50:34 +0000 Subject: [PATCH] Bug 36663: Adjust datatable button selector This change makes the selector apply specifically to the 'clear filter' button, instead of whatever is the first button as 'clear filter' may or may not exist. Signed-off-by: Lucas Gass Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss index 1bee4edc2a..abaf2517db 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss @@ -587,7 +587,7 @@ tbody { display: flex; flex-grow: 1; - button:first-of-type { + button.dt_button_clear_filter { margin-right: auto; } } -- 2.39.5