Card Editor: Preview Card Margin fix (#5879)

This commit is contained in:
Zack Arnett 2020-05-14 12:13:26 -04:00 committed by GitHub
parent 2aa1eb97fd
commit dd894758a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -235,8 +235,8 @@ export class HuiDialogEditCard extends LitElement {
min-width: 0; min-width: 0;
} }
.content hui-card-preview { .content hui-card-preview {
padding: 8px 0; padding: 8px 10px;
margin: auto 10px; margin: auto 0px;
max-width: 500px; max-width: 500px;
} }
} }
@ -269,6 +269,7 @@ export class HuiDialogEditCard extends LitElement {
margin-bottom: 4px; margin-bottom: 4px;
display: block; display: block;
width: 100%; width: 100%;
box-sizing: border-box;
} }
.gui-mode-button { .gui-mode-button {
margin-right: auto; margin-right: auto;