mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Select styling improvements
- support for Shoelace's size property - relative sizing for EmailTag's add icon height
This commit is contained in:
parent
9ffc7decf2
commit
0f5cb9f9d3
@ -93,6 +93,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2InvokerMixin(Et2WidgetWithS
|
||||
}
|
||||
/* Maximum height + scrollbar on tags (+ other styling) */
|
||||
.select__tags {
|
||||
margin-left: 0px;
|
||||
max-height: 5em;
|
||||
overflow-y: auto;
|
||||
|
||||
@ -437,6 +438,10 @@ export class Et2Select extends Et2WithSearchMixin(Et2InvokerMixin(Et2WidgetWithS
|
||||
tag.value = item.value;
|
||||
tag.textContent = this.getItemLabel(item);
|
||||
tag.class = item.classList.value + " search_tag";
|
||||
if(this.size)
|
||||
{
|
||||
tag.size = this.size;
|
||||
}
|
||||
if(this.readonly)
|
||||
{
|
||||
tag.removable = false;
|
||||
|
@ -31,7 +31,7 @@ export class Et2EmailTag extends Et2Tag
|
||||
.tag__prefix {
|
||||
display: none;
|
||||
|
||||
height: 16px;
|
||||
height: 80%;
|
||||
|
||||
background-color: white;
|
||||
background-repeat: no-repeat;
|
||||
|
Loading…
Reference in New Issue
Block a user