Bug 21234: Remove our .clearfix class in favor of Bootstrap's
authorOwen Leonard <oleonard@myacpl.org>
Thu, 16 Aug 2018 13:02:34 +0000 (13:02 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 22 Aug 2018 12:04:27 +0000 (12:04 +0000)
This patch removes the ".clearfix" declaration from staff-global.scss so
that Bootstrap's built-in clearfix class will be used.

To reproduce this issue, see Administration -> Currencies and exchange
rates. The table of currencies does not appear below the table buttons.

Apply the patch and regenerate CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

Clear the browser cache if necessary and reload the Currencies and
exchange rates page. The table should appear in the correct position.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss

index 55a6f70..6019580 100644 (file)
@@ -705,18 +705,6 @@ ol {
     padding: 7px 0;
 }
 
-.clearfix {
-    display: inline-block;
-
-    &::after {
-        clear: both;
-        content: ".";
-        display: block;
-        height: 0;
-        visibility: hidden;
-    }
-}
-
 #editions {
     table,
     td {