mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Fix margin for row action buttons (#1520)
* Fix margin for row action buttons * Also cover controls
This commit is contained in:
parent
1b18315e96
commit
36ba37c59c
@ -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]]"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user