mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 00:06:35 +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 {
|
class HuiCoverEntityRow extends PolymerElement {
|
||||||
static get template() {
|
static get template() {
|
||||||
return html`
|
return html`
|
||||||
|
<style>
|
||||||
|
ha-cover-controls,
|
||||||
|
ha-cover-tilt-controls {
|
||||||
|
margin-right: -.57em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<hui-generic-entity-row
|
<hui-generic-entity-row
|
||||||
hass="[[hass]]"
|
hass="[[hass]]"
|
||||||
config="[[_config]]"
|
config="[[_config]]"
|
||||||
|
@ -16,7 +16,7 @@ class HuiLockEntityRow extends LocalizeMixin(PolymerElement) {
|
|||||||
paper-button {
|
paper-button {
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin: 0;
|
margin-right: -.57em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<hui-generic-entity-row
|
<hui-generic-entity-row
|
||||||
|
@ -16,7 +16,7 @@ class HuiSceneEntityRow extends LocalizeMixin(PolymerElement) {
|
|||||||
paper-button {
|
paper-button {
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin: 0;
|
margin-right: -.57em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<hui-generic-entity-row
|
<hui-generic-entity-row
|
||||||
|
@ -17,7 +17,7 @@ class HuiScriptEntityRow extends LocalizeMixin(PolymerElement) {
|
|||||||
paper-button {
|
paper-button {
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin: 0;
|
margin-right: -.57em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<hui-generic-entity-row
|
<hui-generic-entity-row
|
||||||
|
@ -33,7 +33,7 @@ class HuiCallServiceRow extends PolymerElement {
|
|||||||
paper-button {
|
paper-button {
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin: 0;
|
margin-right: -.57em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<ha-icon icon="[[_config.icon]]"></ha-icon>
|
<ha-icon icon="[[_config.icon]]"></ha-icon>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user