mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 17:56:46 +00:00
Use haStyleScrollbar for integration card lists (#9051)
This commit is contained in:
parent
7add6eb736
commit
551d3ffdf3
@ -39,7 +39,7 @@ import {
|
|||||||
showConfirmationDialog,
|
showConfirmationDialog,
|
||||||
showPromptDialog,
|
showPromptDialog,
|
||||||
} from "../../../dialogs/generic/show-dialog-box";
|
} from "../../../dialogs/generic/show-dialog-box";
|
||||||
import { haStyle } from "../../../resources/styles";
|
import { haStyle, haStyleScrollbar } from "../../../resources/styles";
|
||||||
import type { HomeAssistant } from "../../../types";
|
import type { HomeAssistant } from "../../../types";
|
||||||
import type { ConfigEntryExtended } from "./ha-config-integrations";
|
import type { ConfigEntryExtended } from "./ha-config-integrations";
|
||||||
import "./ha-integration-header";
|
import "./ha-integration-header";
|
||||||
@ -139,7 +139,7 @@ export class HaIntegrationCard extends LitElement {
|
|||||||
|
|
||||||
private _renderGroupedIntegration(): TemplateResult {
|
private _renderGroupedIntegration(): TemplateResult {
|
||||||
return html`
|
return html`
|
||||||
<paper-listbox>
|
<paper-listbox class="ha-scrollbar">
|
||||||
${this.items.map(
|
${this.items.map(
|
||||||
(item) =>
|
(item) =>
|
||||||
html`<paper-item
|
html`<paper-item
|
||||||
@ -586,6 +586,7 @@ export class HaIntegrationCard extends LitElement {
|
|||||||
static get styles(): CSSResult[] {
|
static get styles(): CSSResult[] {
|
||||||
return [
|
return [
|
||||||
haStyle,
|
haStyle,
|
||||||
|
haStyleScrollbar,
|
||||||
css`
|
css`
|
||||||
ha-card {
|
ha-card {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user