mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-23 19:31:53 +02: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: 4px solid transparent;
|
||||||
border-inline-start-color: var(--category-color, 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 */
|
/* Limit tag size */
|
||||||
|
|
||||||
.tree_tag {
|
.tree_tag {
|
||||||
color: green;
|
|
||||||
max-width: 25em;
|
max-width: 25em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host(:not([multiple])) .tree_tag::part(base) {
|
||||||
|
border-color: transparent;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
/* End tags */
|
/* End tags */
|
||||||
|
|
||||||
/* Search box */
|
/* Search box */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user