mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-08 18:06:36 +00:00
Fix ha-bar display issue on firefox (#7263)
This commit is contained in:
parent
80b7c840e2
commit
667c5744f2
@ -34,8 +34,8 @@ export class HaBar extends LitElement {
|
||||
return svg`
|
||||
<svg>
|
||||
<g>
|
||||
<rect></rect>
|
||||
<rect width="${valuePrecentage}%"></rect>
|
||||
<rect/>
|
||||
<rect width="${valuePrecentage}%"/>
|
||||
</g>
|
||||
</svg>
|
||||
`;
|
||||
@ -43,6 +43,9 @@ export class HaBar extends LitElement {
|
||||
|
||||
static get styles(): CSSResult {
|
||||
return css`
|
||||
rect {
|
||||
height: 100%;
|
||||
}
|
||||
rect:first-child {
|
||||
width: 100%;
|
||||
fill: var(--ha-bar-background-color, var(--secondary-background-color));
|
||||
|
Loading…
x
Reference in New Issue
Block a user