From cf1c4ac9ae38685af781c9b5d3d9199dab9b8ffd Mon Sep 17 00:00:00 2001 From: Leo Date: Mon, 26 Aug 2024 12:12:47 -0500 Subject: [PATCH] Update Essence. --- scss/vendors/_datatables.scss | 39 +++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/scss/vendors/_datatables.scss b/scss/vendors/_datatables.scss index 4874729..4b5e03f 100644 --- a/scss/vendors/_datatables.scss +++ b/scss/vendors/_datatables.scss @@ -1,23 +1,32 @@ -@include media-breakpoint-down(md) { - .dt-length { - float: left; - - label { - display: none; - } +.dt-container { + // Remove unnecessary horizontal paddings for content + .row > * { + padding-left: 0; + padding-right: 0; } - .dt-search { - float: left; - width: 100%; + // In smaller viewport, clean up top bar (entries per page and search) + @include media-breakpoint-down(md) { + .dt-length { + float: left; - label { - display: none; + label { + display: none; + } } - input { - margin-left: 0 !important; - width: 100% !important; + .dt-search { + float: left; + width: 100%; + + label { + display: none; + } + + input { + margin-left: 0 !important; + width: 100% !important; + } } } } \ No newline at end of file