REVERT: UX: keep recent search items on same line as icon (#27264)

This was making the hamburger menu un-scrollable on mobile.
This commit is contained in:
Joffrey JAFFEUX 2024-05-31 09:03:52 +02:00 committed by Loïc Guitaut
parent 5eae8ced9e
commit a9cccf07c6
2 changed files with 17 additions and 6 deletions

View File

@ -229,6 +229,23 @@
}
}
.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;
}
}
.menu-links.columned {
li {
width: 50%;

View File

@ -256,9 +256,6 @@ $search-pad-horizontal: 0.5em;
}
.search-item-slug {
overflow-wrap: anywhere;
white-space: wrap;
min-width: 0;
.keyword {
margin-right: 0.33em;
}
@ -325,9 +322,6 @@ $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;