Align state info in center (#9153)

This commit is contained in:
Bram Kragten 2021-05-10 22:22:54 +02:00 committed by GitHub
parent 5c466712db
commit d4720a9244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {