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

This commit is contained in:
Kris 2024-05-30 16:10:02 -04:00 committed by GitHub
parent 31283968cb
commit 5eae8ced9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 17 deletions

View File

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

View File

@ -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;