mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 21:37:21 +00:00
Align state info in center (#9153)
This commit is contained in:
parent
5c466712db
commit
d4720a9244
@ -73,7 +73,7 @@ class StateInfo extends LitElement {
|
|||||||
</div>
|
</div>
|
||||||
</paper-tooltip>
|
</paper-tooltip>
|
||||||
</div>`
|
</div>`
|
||||||
: html`<div class="extra-info"><slot> </slot></div>`}
|
: html`<div class="extra-info"><slot></slot></div>`}
|
||||||
</div>`;
|
</div>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -106,6 +106,10 @@ class StateInfo extends LitElement {
|
|||||||
|
|
||||||
.info {
|
.info {
|
||||||
margin-left: 56px;
|
margin-left: 56px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([rtl]) .info {
|
:host([rtl]) .info {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user