A platform for community discussion. Free, open, simple.
UX: keep recent search items on same line as icon (#27280)
Kris4f6f9043206d
diff --git a/app/assets/stylesheets/common/base/menu-panel.scss b/app/assets/stylesheets/common/base/menu-panel.scssindex 18e9f7b2232..42c9086da93 100644--- a/app/assets/stylesheets/common/base/menu-panel.scss+++ b/app/assets/stylesheets/common/base/menu-panel.scss@@ -230,17 +230,6 @@}.hamburger-panel {- // remove once glimmer search menu in place- a.widget-link {- width: 100%;- box-sizing: border-box;- @include ellipsis;- }- a.search-link {- width: 100%;- box-sizing: border-box;- @include ellipsis;- }.panel-body {overflow-y: auto;}diff --git a/app/assets/stylesheets/common/base/search-menu.scss b/app/assets/stylesheets/common/base/search-menu.scssindex eb7c85ded8c..1412046e023 100644--- a/app/assets/stylesheets/common/base/search-menu.scss+++ b/app/assets/stylesheets/common/base/search-menu.scss@@ -256,6 +256,9 @@ $search-pad-horizontal: 0.5em;}.search-item-slug {+ overflow-wrap: anywhere;+ white-space: wrap;+ min-width: 0;.keyword {margin-right: 0.33em;}@@ -322,6 +325,9 @@ $search-pad-horizontal: 0.5em;.search-menu-recent {@include separator;+ .search-menu-assistant-item .search-link {+ flex-wrap: nowrap;+ }.heading {display: flex;justify-content: space-between;