mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:18 +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) */
|
/* Maximum height + scrollbar on tags (+ other styling) */
|
||||||
.select__tags {
|
.select__tags {
|
||||||
|
margin-left: 0px;
|
||||||
max-height: 5em;
|
max-height: 5em;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
@ -437,6 +438,10 @@ export class Et2Select extends Et2WithSearchMixin(Et2InvokerMixin(Et2WidgetWithS
|
|||||||
tag.value = item.value;
|
tag.value = item.value;
|
||||||
tag.textContent = this.getItemLabel(item);
|
tag.textContent = this.getItemLabel(item);
|
||||||
tag.class = item.classList.value + " search_tag";
|
tag.class = item.classList.value + " search_tag";
|
||||||
|
if(this.size)
|
||||||
|
{
|
||||||
|
tag.size = this.size;
|
||||||
|
}
|
||||||
if(this.readonly)
|
if(this.readonly)
|
||||||
{
|
{
|
||||||
tag.removable = false;
|
tag.removable = false;
|
||||||
|
@ -31,7 +31,7 @@ export class Et2EmailTag extends Et2Tag
|
|||||||
.tag__prefix {
|
.tag__prefix {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
||||||
height: 16px;
|
height: 80%;
|
||||||
|
|
||||||
background-color: white;
|
background-color: white;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
Loading…
Reference in New Issue
Block a user