mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 19:09:48 +00:00
Make ha-slider not depend on font sizes (#27294)
This commit is contained in:
committed by
GitHub
parent
0bcb7897c9
commit
b02368b9c6
@@ -63,13 +63,13 @@ export class HaSlider extends Slider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
:host([size="medium"]) {
|
:host([size="medium"]) {
|
||||||
--thumb-width: var(--ha-font-size-l, 1.25em);
|
--thumb-width: 20px;
|
||||||
--thumb-height: var(--ha-font-size-l, 1.25em);
|
--thumb-height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([size="small"]) {
|
:host([size="small"]) {
|
||||||
--thumb-width: var(--ha-font-size-m, 1em);
|
--thumb-width: 16px;
|
||||||
--thumb-height: var(--ha-font-size-m, 1em);
|
--thumb-height: 16px;
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user