mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 15:38:27 +01:00
Set a smaller font-size for tab's label
This commit is contained in:
parent
24f280d4fc
commit
de699325a6
@ -1,8 +1,22 @@
|
|||||||
import {Et2Widget} from "../../Et2Widget/Et2Widget";
|
import {Et2Widget} from "../../Et2Widget/Et2Widget";
|
||||||
import {SlTab} from "@shoelace-style/shoelace";
|
import {SlTab} from "@shoelace-style/shoelace";
|
||||||
|
import shoelace from "../../Styles/shoelace";
|
||||||
|
import {css} from "@lion/core";
|
||||||
|
|
||||||
export class Et2Tab extends Et2Widget(SlTab)
|
export class Et2Tab extends Et2Widget(SlTab)
|
||||||
{
|
{
|
||||||
|
static get styles()
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
...super.styles,
|
||||||
|
...shoelace,
|
||||||
|
css`
|
||||||
|
.tab {
|
||||||
|
font-size: var(--sl-size-x-small);
|
||||||
|
}
|
||||||
|
`
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
static get properties()
|
static get properties()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user