Fix margins
This commit is contained in:
parent
51f7d0987d
commit
aa426e7160
@ -24,11 +24,20 @@ class LayoutCard extends cardTools.LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
firstUpdated() {
|
firstUpdated() {
|
||||||
|
if(this.parentElement && this.parentElement.id !== "view")
|
||||||
|
{
|
||||||
|
this.style.padding = "0";
|
||||||
|
}
|
||||||
this.build();
|
this.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
static get styles() {
|
static get styles() {
|
||||||
return cardTools.LitCSS`
|
return cardTools.LitCSS`
|
||||||
|
:host {
|
||||||
|
padding: 8px 4px 0;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
#columns {
|
#columns {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user