mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 12:43:54 -06:00
UX: prevent user grid blowout on full page search (#16672)
This commit is contained in:
parent
4ef1ea0264
commit
26c5002144
@ -134,7 +134,7 @@
|
||||
.user-items {
|
||||
display: grid;
|
||||
gap: 2em 1em;
|
||||
grid: auto-flow / repeat(4, 1fr);
|
||||
grid: auto-flow / repeat(4, minmax(0, 1fr));
|
||||
|
||||
@include breakpoint(medium) {
|
||||
grid: auto-flow / repeat(3, 1fr);
|
||||
@ -372,11 +372,13 @@
|
||||
.avatar {
|
||||
margin-right: 0.5em;
|
||||
min-width: 25px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
.user-titles {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 300px;
|
||||
overflow: hidden;
|
||||
.name {
|
||||
color: var(--primary-high-or-secondary-low);
|
||||
font-size: var(--font-0);
|
||||
|
Loading…
Reference in New Issue
Block a user