mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 01:36:49 +00:00
Show pointer cursor for input + scene entity rows (#7830)
This commit is contained in:
parent
e1add14453
commit
124aa947e2
@ -134,6 +134,9 @@ class HuiInputNumberEntityRow extends LitElement implements LovelaceRow {
|
||||
width: 100%;
|
||||
max-width: 200px;
|
||||
}
|
||||
:host {
|
||||
cursor: pointer;
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
import { PaperInputElement } from "@polymer/paper-input/paper-input";
|
||||
import {
|
||||
css,
|
||||
CSSResult,
|
||||
customElement,
|
||||
html,
|
||||
LitElement,
|
||||
@ -80,6 +82,14 @@ class HuiInputTextEntityRow extends LitElement implements LovelaceRow {
|
||||
|
||||
ev.target.blur();
|
||||
}
|
||||
|
||||
static get styles(): CSSResult {
|
||||
return css`
|
||||
:host {
|
||||
cursor: pointer;
|
||||
}
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
@ -70,6 +70,9 @@ class HuiSceneEntityRow extends LitElement implements LovelaceRow {
|
||||
mwc-button {
|
||||
margin-right: -0.57em;
|
||||
}
|
||||
:host {
|
||||
cursor: pointer;
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user