From 1728e5f1990860bf5b8f09586873634ed1d8c05b Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 12 Sep 2022 15:08:11 +0200 Subject: [PATCH] Bug 30952: Move 'Clear filter' next to filter in table headers Issue #16 --- .../intranet-tmpl/prog/css/src/_tables.scss | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss index 325bc1a3e7..65c12b9c49 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss @@ -408,26 +408,26 @@ tbody { } .dataTables_info { - float: left; + float: none; line-height: 1.9em; padding-right: 1em; padding-top: 0; } .dataTables_length { + float: none; display: none; - float: left; line-height: 1.5em; padding-right: 1em; } .dataTables_filter { - float: left; + float: none; + line-height: 1.5em; padding-right: 1em; } .dataTables_paginate { - float: left; line-height: 1.5em; padding: 0; padding-right: 1em; @@ -497,6 +497,7 @@ tbody { } .pager { + display: flex; font-size: 90%; &.top { @@ -510,10 +511,12 @@ tbody { display: none; } - div{ - &.dt-buttons { - position: relative; - float: right; + div.dt-buttons { + flex-grow: 1; + display: flex; + + button:first-of-type { + margin-right: auto; } } @@ -526,10 +529,9 @@ tbody { color: #696969; font-size: 1em; line-height: 1.7em; - margin: 3px 3px 0; + margin: 0 3px 0 0; padding: 0 .5em; position: relative; - float: right; &::before { content: ''; -- 2.30.2