From 7cba6d08a8a74816b518b1f954bebe160a3e7b83 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 1 Apr 2024 12:22:15 +0000 Subject: [PATCH] Bug 36469: Fix conflict between _header.scss and addbiblio.css tab style addbiblio.css adds padding to tab panes specific for that interface, and the header search form should not pick up that style. This patch adds some specificity to _header.scss to avoid unwanted padding. To test, apply the patch and rebuild the staff interface CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface). - Go to Cataloging -> New record (using the basic MARC editor). - The style of the MARC edit form should look correct. - The header search form should look correct - Test other pages with tabs to confirm that there are no other unwanted side-effects, e.g. Circulation -> Check out; Advanced catalog search; Bibliographic detail page. --- koha-tmpl/intranet-tmpl/prog/css/src/_header.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss index e1bbb99a33..d9ea5bde05 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss @@ -244,6 +244,10 @@ a.navbar-toggle { &.toptabs { margin-top: 0; + + .tab-pane { + padding: 0; + } } .nav-tabs { -- 2.30.2