From 9b91517ec4a9049b8ed287769953558823d19bb0 Mon Sep 17 00:00:00 2001 From: LucasC Date: Mon, 20 Oct 2025 11:08:52 +0200 Subject: [PATCH] XWIKI-23496: Date facet unexpected layout when enough space * Added a style to avoid the unexpected layout at very high viewport width. --- .../src/main/resources/Main/SolrDateFacet.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-ui/src/main/resources/Main/SolrDateFacet.xml b/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-ui/src/main/resources/Main/SolrDateFacet.xml index 96f488194035..bc88c76c5566 100644 --- a/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-ui/src/main/resources/Main/SolrDateFacet.xml +++ b/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-ui/src/main/resources/Main/SolrDateFacet.xml @@ -531,6 +531,9 @@ } .search-facet-body .customDateInterval form { margin-top: .5em; + /* We want the form to stay on its own flex line no matter how much space is provided. */ + width: 80%; + margin-left: 10%; } .search-facet-body .customDateInterval dl { margin: 0;