From 61041e839108426bd202c5fdb3c69f2cbdd09ba2 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Mon, 10 Aug 2026 02:23:52 +0100 Subject: [PATCH] Refactor SimpleDateTimePropertyFilter styles for improved layout and alignment - Adjusted margins and alignment properties for the SimpleDateTimePropertyFilter component to enhance visual consistency. - Updated styles for tree nodes and switchers to ensure better alignment and spacing within the component. --- assets/stylesheets/App.css | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/assets/stylesheets/App.css b/assets/stylesheets/App.css index c08a1a5..083b569 100644 --- a/assets/stylesheets/App.css +++ b/assets/stylesheets/App.css @@ -1108,14 +1108,25 @@ span.ant-skeleton-input.ant-skeleton-input-sm.text-skeleton { } .simple-date-time-property-filter { - margin-top: 3px; + margin: -6px 0; } .simple-date-time-property-filter.ant-tree .ant-tree-treenode { margin-bottom: 0; height: 40px; + align-items: center; } -.ant-tree-list-holder-inner > .ant-tree-treenode:last-child { - margin-bottom: 0; +.simple-date-time-property-filter.ant-tree .ant-tree-switcher { + align-self: center; +} + +.simple-date-time-property-filter.ant-tree .ant-tree-switcher-leaf-line:after { + height: 0; + top: -5px; +} + +.simple-date-time-property-filter.ant-tree .ant-tree-switcher-leaf-line:before { + top: -16px; + bottom: -24px; }