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

This commit is contained in:
Kris 2024-05-31 10:49:38 -04:00 committed by GitHub
parent 96a686c8dc
commit 4f6f904320
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 11 deletions

View File

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

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;