Clean up display of ZHA device page (#4522)

* remove margins

* adjust help icon and max width
This commit is contained in:
David F. Mulcahey 2020-01-20 06:13:47 -05:00 committed by Bram Kragten
parent f74ee76ae2
commit ef2ca4a07f
6 changed files with 12 additions and 12 deletions

View File

@ -279,8 +279,7 @@ export class ZHAClusterAttributes extends LitElement {
}
ha-card {
margin: 0 auto;
max-width: 600px;
max-width: 680px;
}
.card-actions.warning ha-call-service-button {
@ -308,6 +307,7 @@ export class ZHAClusterAttributes extends LitElement {
float: right;
top: -6px;
right: 0;
padding-right: 0px;
color: var(--primary-color);
}

View File

@ -212,8 +212,7 @@ export class ZHAClusterCommands extends LitElement {
}
ha-card {
margin: 0 auto;
max-width: 600px;
max-width: 680px;
}
.card-actions.warning ha-call-service-button {
@ -253,6 +252,7 @@ export class ZHAClusterCommands extends LitElement {
float: right;
top: -6px;
right: 0;
padding-right: 0px;
color: var(--primary-color);
}

View File

@ -146,8 +146,7 @@ export class ZHAClusters extends LitElement {
}
ha-card {
margin: 0 auto;
max-width: 600px;
max-width: 680px;
}
.node-picker {
@ -161,6 +160,7 @@ export class ZHAClusters extends LitElement {
float: right;
top: -6px;
right: 0;
padding-right: 0px;
color: var(--primary-color);
}

View File

@ -158,8 +158,7 @@ export class ZHADeviceBindingControl extends LitElement {
}
ha-card {
margin: 0 auto;
max-width: 600px;
max-width: 680px;
}
.card-actions.warning ha-call-service-button {
@ -188,6 +187,7 @@ export class ZHADeviceBindingControl extends LitElement {
float: right;
top: -6px;
right: 0;
padding-right: 0px;
color: var(--primary-color);
}

View File

@ -262,8 +262,7 @@ export class ZHAGroupBindingControl extends LitElement {
}
ha-card {
margin: 0 auto;
max-width: 600px;
max-width: 680px;
}
.card-actions.warning ha-call-service-button {
@ -298,6 +297,7 @@ export class ZHAGroupBindingControl extends LitElement {
float: right;
top: -6px;
right: 0;
padding-right: 0px;
color: var(--primary-color);
}

View File

@ -97,8 +97,7 @@ export class ZHANode extends LitElement {
}
.content {
max-width: 600px;
margin: 0 auto;
max-width: 680px;
}
.card {
@ -123,6 +122,7 @@ export class ZHANode extends LitElement {
float: right;
top: 6px;
right: 0;
padding-right: 0px;
color: var(--primary-color);
}
`,