mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
CSS changes to make Et2TreeDropdown multiple=false look more like regular selectbox
This commit is contained in:
parent
d26b620f8d
commit
cc8f060cdd
@ -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);
|
||||
}
|
||||
`
|
||||
];
|
||||
}
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user