mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 13:27:22 +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>
|
||||
</paper-tooltip>
|
||||
</div>`
|
||||
: html`<div class="extra-info"><slot> </slot></div>`}
|
||||
: html`<div class="extra-info"><slot></slot></div>`}
|
||||
</div>`;
|
||||
}
|
||||
|
||||
@ -106,6 +106,10 @@ class StateInfo extends LitElement {
|
||||
|
||||
.info {
|
||||
margin-left: 56px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
:host([rtl]) .info {
|
||||
|
Loading…
x
Reference in New Issue
Block a user