Use haStyleScrollbar for integration card lists (#9051)

This commit is contained in:
Joakim Sørensen 2021-04-30 15:01:31 +02:00 committed by GitHub
parent 7add6eb736
commit 551d3ffdf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ import {
showConfirmationDialog,
showPromptDialog,
} from "../../../dialogs/generic/show-dialog-box";
import { haStyle } from "../../../resources/styles";
import { haStyle, haStyleScrollbar } from "../../../resources/styles";
import type { HomeAssistant } from "../../../types";
import type { ConfigEntryExtended } from "./ha-config-integrations";
import "./ha-integration-header";
@ -139,7 +139,7 @@ export class HaIntegrationCard extends LitElement {
private _renderGroupedIntegration(): TemplateResult {
return html`
<paper-listbox>
<paper-listbox class="ha-scrollbar">
${this.items.map(
(item) =>
html`<paper-item
@ -586,6 +586,7 @@ export class HaIntegrationCard extends LitElement {
static get styles(): CSSResult[] {
return [
haStyle,
haStyleScrollbar,
css`
ha-card {
display: flex;