mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-02 05:57:54 +00:00
Lovelace editor - flex spacing (#2666)
* Converted lovelace editor to flex spacing * Removed margin-top leftover
This commit is contained in:
parent
83aaf4699c
commit
810fd802b5
@ -435,9 +435,14 @@ export class HuiEditCard extends LitElement {
|
|||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
margin: 0 -10px;
|
||||||
}
|
}
|
||||||
.content hui-card-preview {
|
.content hui-card-preview {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
|
margin: 0 10px;
|
||||||
|
}
|
||||||
|
.content .element-editor {
|
||||||
|
margin: 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1200px) {
|
@media (min-width: 1200px) {
|
||||||
@ -453,7 +458,7 @@ export class HuiEditCard extends LitElement {
|
|||||||
flex: auto;
|
flex: auto;
|
||||||
}
|
}
|
||||||
.content hui-card-preview {
|
.content hui-card-preview {
|
||||||
margin: 0 24px;
|
margin: 0 10px;
|
||||||
flex: 490px;
|
flex: 490px;
|
||||||
max-width: 490px;
|
max-width: 490px;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user