CSS changes to make Et2TreeDropdown multiple=false look more like regular selectbox

This commit is contained in:
nathan 2024-09-09 11:57:52 -06:00
parent d26b620f8d
commit cc8f060cdd
2 changed files with 10 additions and 1 deletions

View File

@ -30,6 +30,11 @@ export class Et2SelectCategory extends Et2StaticSelectMixin(Et2TreeDropdown)
border-inline-start: 4px solid transparent;
border-inline-start-color: var(--category-color, transparent);
}
:host(:not([multiple])) .tree_tag::part(base) {
border-inline-start: 4px solid transparent;
border-inline-start-color: var(--category-color, transparent);
}
`
];
}

View File

@ -119,11 +119,15 @@ export default css`
/* Limit tag size */
.tree_tag {
color: green;
max-width: 25em;
overflow: hidden;
}
:host(:not([multiple])) .tree_tag::part(base) {
border-color: transparent;
background-color: transparent;
}
/* End tags */
/* Search box */