"image content"
"image meta";
grid-template-columns: 60px auto;
+ grid-template-rows: minmax(0, min-content);
+ /* min-height = 48px icon + 2*10px padding */
+ min-height: 68px;
padding: 10px 30px 10px 10px;
position: relative;
transition: background-color 0.12s linear;
&.userMenuItemSingleLine {
grid-template-areas: "image content";
+ grid-template-rows: auto;
+ min-height: 0;
.userMenuItemContent {
align-self: center;
.userMenuItemImage {
grid-area: image;
+ /* Prevent the image from being part of the `grid-template-rows` calculation. */
+ position: absolute;
}
.userMenuItemContent {
.userMenuItemUsernames,
.userMenuItemMeta {
color: var(--color-dimmed);
+ margin-top: 2px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;