Add integration dialog Scroll bar styles (#13299)

This commit is contained in:
Zack Barett 2022-07-28 09:54:41 -05:00 committed by GitHub
parent f3229bb8a7
commit 9baeabed19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ import { LocalizeFunc } from "../../common/translations/localize";
import "../../components/ha-icon-next"; import "../../components/ha-icon-next";
import "../../components/search-input"; import "../../components/search-input";
import { domainToName } from "../../data/integration"; import { domainToName } from "../../data/integration";
import { haStyleScrollbar } from "../../resources/styles";
import { HomeAssistant } from "../../types"; import { HomeAssistant } from "../../types";
import { brandsUrl } from "../../util/brands-url"; import { brandsUrl } from "../../util/brands-url";
import { documentationUrl } from "../../util/documentation-url"; import { documentationUrl } from "../../util/documentation-url";
@ -143,6 +144,7 @@ class StepFlowPickHandler extends LitElement {
width: `${this._width}px`, width: `${this._width}px`,
height: `${this._height}px`, height: `${this._height}px`,
})} })}
class="ha-scrollbar"
> >
${addDeviceRows.length ${addDeviceRows.length
? html` ? html`
@ -321,6 +323,7 @@ class StepFlowPickHandler extends LitElement {
static get styles(): CSSResultGroup { static get styles(): CSSResultGroup {
return [ return [
configFlowContentStyles, configFlowContentStyles,
haStyleScrollbar,
css` css`
img { img {
width: 40px; width: 40px;