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

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