Skip to content

Commit

Permalink
Fix mobile store search (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Mar 5, 2022
1 parent d39164d commit 471f2b2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/panels/hacs-store-panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,18 +178,14 @@ export class HacsStorePanel extends LitElement {
</ha-icon-overflow-menu>
${this.narrow
? html`
<div slot="header">
<slot name="header">
<search-input
.hass=${this.hass}
class="header"
no-label-float
.label=${this.hacs.localize("search.downloaded")}
.filter=${this._searchInput || ""}
@value-changed=${this._inputValueChanged}
></search-input>
</slot>
</div>
<search-input
.hass=${this.hass}
class="header"
slot="header"
.label=${this.hacs.localize("search.downloaded")}
.filter=${this._searchInput || ""}
@value-changed=${this._inputValueChanged}
></search-input>
`
: html`<div class="search">
<search-input
Expand Down Expand Up @@ -360,6 +356,10 @@ export class HacsStorePanel extends LitElement {
display: block;
}
search-input.header {
padding: 0;
}
.bottom-bar {
position: fixed !important;
}
Expand Down

0 comments on commit 471f2b2

Please sign in to comment.