Lovelace editor - flex spacing (#2666)

* Converted lovelace editor to flex spacing

* Removed margin-top leftover
This commit is contained in:
yosilevy 2019-02-03 08:06:36 +02:00 committed by Paulus Schoutsen
parent 83aaf4699c
commit 810fd802b5

View File

@ -435,9 +435,14 @@ export class HuiEditCard extends LitElement {
.content {
display: flex;
flex-direction: column;
margin: 0 -10px;
}
.content hui-card-preview {
margin-top: 16px;
margin: 0 10px;
}
.content .element-editor {
margin: 0 10px;
}
@media (min-width: 1200px) {
@ -453,7 +458,7 @@ export class HuiEditCard extends LitElement {
flex: auto;
}
.content hui-card-preview {
margin: 0 24px;
margin: 0 10px;
flex: 490px;
max-width: 490px;
}