Fix spacing & sizing

- Move option group titles to the left more
- Fix calendarowner dropdown would not size properly in sidebox
This commit is contained in:
nathan 2023-11-02 17:29:50 -06:00
parent 4d1e81b8b1
commit 454ab3fb98
2 changed files with 11 additions and 1 deletions

View File

@ -201,6 +201,12 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
opacity: 1;
border: none;
}
/* Position & style of group titles */
small {
padding: var(--sl-spacing-medium);
}
`
];
}

View File

@ -32,6 +32,10 @@ export class CalendarOwner extends Et2StaticSelectMixin(Et2Select)
.select__tags {
max-height: 10em;
}
.title {
float: right;
}
`
];
}
@ -84,7 +88,7 @@ export class CalendarOwner extends Et2StaticSelectMixin(Et2Select)
>
${this._iconTemplate(option)}
${this.noLang ? option.label : this.egw().lang(option.label)}
<span class="title" slot="suffix">${option.title}</span>
<span class="title">${option.title}</span>
</sl-option>`;
}