Skip to content

Commit 49655d0

Browse files
benjaminfruehbackportbot[bot]
authored andcommitted
fix(avatars): prevent avatars from being squished
Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>
1 parent be8bbb2 commit 49655d0

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

src/components/Editor/SessionList.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<template #trigger="{ attrs }">
1212
<div>
1313
<NcButton
14+
wide
1415
:title="label"
1516
:aria-label="label"
1617
variant="tertiary"
@@ -132,8 +133,7 @@ export default {
132133
height: var(--default-clickable-area);
133134
}
134135
135-
/* Needs to be more specific than 0,2,0 (NcButton) */
136-
.button-vue--icon-only.avatar-list {
136+
.session-list .avatar-list {
137137
width: min-content !important;
138138
padding-inline: var(--default-grid-baseline);
139139
@@ -143,9 +143,13 @@ export default {
143143
width: min-content;
144144
145145
.avatar-wrapper {
146-
margin: 3px -12px 3px 0;
146+
margin: 3px 2px 3px 0;
147147
z-index: 1;
148148
}
149+
150+
.avatar-wrapper ~ .avatar-wrapper {
151+
margin-right: -12px;
152+
}
149153
}
150154
}
151155

0 commit comments

Comments
 (0)