mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Clean up display of ZHA device page (#4522)
* remove margins * adjust help icon and max width
This commit is contained in:
parent
f74ee76ae2
commit
ef2ca4a07f
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user