From e45e45f0251b3836527448c4ba73a1d78d7cd3d4 Mon Sep 17 00:00:00 2001 From: eclipse Date: Fri, 16 May 2025 16:45:02 +0200 Subject: [PATCH] corrected width of datatable search field --- the_works/static/the_works.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/the_works/static/the_works.css b/the_works/static/the_works.css index 0e9ec54..f861351 100644 --- a/the_works/static/the_works.css +++ b/the_works/static/the_works.css @@ -64,6 +64,12 @@ table.dataTable span.dt-column-order::after line-height: var(--pico-line-height) !important; } +/* make search field expand to ca. half width */ +.dt-container div:first-child > .dt-layout-cell, +.dt-container div:first-child .dt-search { + flex-grow: 1; +} + table.dataTable td.action { padding: calc(var(--pico-spacing) / 2) var(--pico-spacing); }