mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
Prevent line break in selection menu (#20361)
This commit is contained in:
parent
567ee8000d
commit
3de985a3b8
@ -321,19 +321,28 @@ export class HaTabsSubpageDataTable extends LitElement {
|
|||||||
.path=${mdiMenuDown}
|
.path=${mdiMenuDown}
|
||||||
></ha-svg-icon
|
></ha-svg-icon
|
||||||
></ha-assist-chip>
|
></ha-assist-chip>
|
||||||
<ha-menu-item .value=${undefined} @click=${this._selectAll}
|
<ha-menu-item .value=${undefined} @click=${this._selectAll}>
|
||||||
>${localize("ui.components.subpage-data-table.select_all")}
|
<div slot="headline">
|
||||||
|
${localize("ui.components.subpage-data-table.select_all")}
|
||||||
|
</div>
|
||||||
</ha-menu-item>
|
</ha-menu-item>
|
||||||
<ha-menu-item .value=${undefined} @click=${this._selectNone}
|
<ha-menu-item .value=${undefined} @click=${this._selectNone}>
|
||||||
>${localize("ui.components.subpage-data-table.select_none")}
|
<div slot="headline">
|
||||||
|
${localize(
|
||||||
|
"ui.components.subpage-data-table.select_none"
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
</ha-menu-item>
|
</ha-menu-item>
|
||||||
<md-divider role="separator" tabindex="-1"></md-divider>
|
<md-divider role="separator" tabindex="-1"></md-divider>
|
||||||
<ha-menu-item
|
<ha-menu-item
|
||||||
.value=${undefined}
|
.value=${undefined}
|
||||||
@click=${this._disableSelectMode}
|
@click=${this._disableSelectMode}
|
||||||
>${localize(
|
>
|
||||||
|
<div slot="headline">
|
||||||
|
${localize(
|
||||||
"ui.components.subpage-data-table.close_select_mode"
|
"ui.components.subpage-data-table.close_select_mode"
|
||||||
)}
|
)}
|
||||||
|
</div>
|
||||||
</ha-menu-item>
|
</ha-menu-item>
|
||||||
</ha-button-menu-new>
|
</ha-button-menu-new>
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user