Tooltip tweak target picker (#7870)

This commit is contained in:
Bram Kragten 2020-12-02 18:21:51 +01:00 committed by GitHub
parent 8c655883fe
commit e0c4dc08a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,7 +268,7 @@ export class HaTargetPicker extends SubscribeMixin(LitElement) {
>
<ha-svg-icon .path=${mdiUnfoldMoreVertical}></ha-svg-icon>
</mwc-icon-button>
<paper-tooltip animation-delay="0"
<paper-tooltip class="expand" animation-delay="0"
>${this.hass.localize(
`ui.components.target-picker.expand_${type}`
)}</paper-tooltip
@ -581,7 +581,7 @@ export class HaTargetPicker extends SubscribeMixin(LitElement) {
.mdc-chip:hover {
z-index: 5;
}
paper-tooltip {
paper-tooltip.expand {
min-width: 200px;
}
`;