Skip to content

Commit 752d998

Browse files
authored
XWIKI-23496: Date facet unexpected layout when enough space (#4688)
* Added a style to avoid the unexpected layout at very high viewport width.
1 parent ae00eaa commit 752d998

File tree

1 file changed

+3
-0
lines changed
  • xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-ui/src/main/resources/Main

1 file changed

+3
-0
lines changed

xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-ui/src/main/resources/Main/SolrDateFacet.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,9 @@
531531
}
532532
.search-facet-body .customDateInterval form {
533533
margin-top: .5em;
534+
/* We want the form to stay on its own flex line no matter how much space is provided. */
535+
width: 80%;
536+
margin-left: 16px;
534537
}
535538
.search-facet-body .customDateInterval dl {
536539
margin: 0;

0 commit comments

Comments
 (0)