Fix handling of long calendar names in calendar-picker

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
Georg Ehrke 2020-06-09 09:49:29 +02:00
parent 92292c1111
commit d09beb5821
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
2 changed files with 12 additions and 2 deletions

View File

@ -711,10 +711,19 @@
border-radius: 50%;
border: none;
margin-right: 8px;
flex-basis: 12px;
flex-shrink: 0;
}
&__label {
overflow: hidden;
text-overflow: ellipsis;
flex-grow: 1;
}
&__avatar {
margin-left: auto;
flex-basis: 18px;
flex-shrink: 0;
}
}

View File

@ -26,7 +26,8 @@
class="calendar-picker-option__color-indicator"
:style="{ backgroundColor: color }" />
<span>
<span
class="calendar-picker-option__label">
{{ displayName }}
</span>