From c094257755e24d3ace9402941dafbd88c154e60b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 20 May 2025 13:12:33 +0000 Subject: [PATCH] Bug 39499: Add some padding to the Save button in the sticky bar in cataloging This patch corrects a regression in the style of the floating toolbar on the basic MARC editor page. There should be comfortable padding around the "Save" button while keeping the toolbar's full width matching the tab panels. To test, apply the patch and clear your browser cache if necessary. - Go to Cataloging -> New record. - The toolbar with the "Save" button should look correct. - The container with the tab buttons right below that should be the same width as the tab panel. - Scroll down and confirm that everything looks good when the toolbar is floating. Sponsored-by: Athens County Public Libraries Signed-off-by: Michelle Spinney Signed-off-by: Baptiste Wojtkowski --- koha-tmpl/intranet-tmpl/prog/css/addbiblio.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css index ae8920119..862cf98eb 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css +++ b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css @@ -5,7 +5,15 @@ form { div#toolbar { border: 0; margin-bottom: 0; - padding-top: 5px; + padding: 5px 0 0 0; +} + +#toolbar .btn-group { + padding-left: 5px; +} + +#addbibliotabs { + margin-top: 5px; } .tab-content { @@ -326,10 +334,6 @@ tbody tr.active td { width: 15em; } -#toolbar { - padding: 5px 0; -} - .toolbar-tabs-container { flex-basis: 100%; margin-top: .5em; -- 2.30.2