Fix margin for row action buttons (#1520)

* Fix margin for row action buttons

* Also cover controls
This commit is contained in:
c727 2018-07-25 21:13:37 +02:00 committed by GitHub
parent 1b18315e96
commit 36ba37c59c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 4 deletions

View File

@ -9,6 +9,12 @@ import CoverEntity from '../../../util/cover-model.js';
class HuiCoverEntityRow extends PolymerElement {
static get template() {
return html`
<style>
ha-cover-controls,
ha-cover-tilt-controls {
margin-right: -.57em;
}
</style>
<hui-generic-entity-row
hass="[[hass]]"
config="[[_config]]"

View File

@ -16,7 +16,7 @@ class HuiLockEntityRow extends LocalizeMixin(PolymerElement) {
paper-button {
color: var(--primary-color);
font-weight: 500;
margin: 0;
margin-right: -.57em;
}
</style>
<hui-generic-entity-row

View File

@ -16,7 +16,7 @@ class HuiSceneEntityRow extends LocalizeMixin(PolymerElement) {
paper-button {
color: var(--primary-color);
font-weight: 500;
margin: 0;
margin-right: -.57em;
}
</style>
<hui-generic-entity-row

View File

@ -17,7 +17,7 @@ class HuiScriptEntityRow extends LocalizeMixin(PolymerElement) {
paper-button {
color: var(--primary-color);
font-weight: 500;
margin: 0;
margin-right: -.57em;
}
</style>
<hui-generic-entity-row

View File

@ -33,7 +33,7 @@ class HuiCallServiceRow extends PolymerElement {
paper-button {
color: var(--primary-color);
font-weight: 500;
margin: 0;
margin-right: -.57em;
}
</style>
<ha-icon icon="[[_config.icon]]"></ha-icon>