CalendarOwner: Remove unwanted vertical scrollbar when there's only 1 row of tags

This commit is contained in:
nathan 2024-09-19 10:04:14 -06:00
parent 7526e281ce
commit 6542552177

View File

@ -28,14 +28,21 @@ export class CalendarOwner extends Et2StaticSelectMixin(Et2Select)
return [
...super.styles,
css`
/* Larger maximum height before scroll*/
.select__tags {
max-height: 10em;
}
/* Larger maximum height before scroll*/
.title {
float: right;
}
.select__tags {
max-height: 10em;
}
.title {
float: right;
}
/* Hide unwanted vertical scrollbars with 1 row of tags */
::part(tag) {
overflow: hidden;
}
`
];
}