mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Fix circulair progress producing scrollbars (#9247)
This commit is contained in:
parent
835a7833ae
commit
465a91dbf3
@ -1,4 +1,5 @@
|
|||||||
import { CircularProgress } from "@material/mwc-circular-progress";
|
import { CircularProgress } from "@material/mwc-circular-progress";
|
||||||
|
import { CSSResultGroup, css } from "lit";
|
||||||
import { customElement, property } from "lit/decorators";
|
import { customElement, property } from "lit/decorators";
|
||||||
|
|
||||||
@customElement("ha-circular-progress")
|
@customElement("ha-circular-progress")
|
||||||
@ -41,6 +42,17 @@ export class HaCircularProgress extends CircularProgress {
|
|||||||
public get indeterminate() {
|
public get indeterminate() {
|
||||||
return this.active;
|
return this.active;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static get styles(): CSSResultGroup {
|
||||||
|
return [
|
||||||
|
super.styles,
|
||||||
|
css`
|
||||||
|
:host {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
`,
|
||||||
|
];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user