mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Fix color and overlap in close dialog header (#6539)
* Fix color and overlap in close dialog header * Use haStyleDialog instead
This commit is contained in:
parent
16b8b6698c
commit
69f4a618b2
@ -4,13 +4,14 @@ import {
|
||||
LitElement,
|
||||
internalProperty,
|
||||
TemplateResult,
|
||||
CSSResult,
|
||||
css,
|
||||
CSSResultArray,
|
||||
} from "lit-element";
|
||||
import "../../../../components/dialog/ha-paper-dialog";
|
||||
import "../../components/hui-views-list";
|
||||
import type { SelectViewDialogParams } from "./show-select-view-dialog";
|
||||
import { HomeAssistant } from "../../../../types";
|
||||
import { haStyleDialog } from "../../../../resources/styles";
|
||||
import { createCloseHeading } from "../../../../components/ha-dialog";
|
||||
import "../../../../components/ha-paper-dropdown-menu";
|
||||
import "@polymer/paper-item/paper-item";
|
||||
@ -135,12 +136,15 @@ export class HuiDialogSelectView extends LitElement {
|
||||
this.closeDialog();
|
||||
}
|
||||
|
||||
static get styles(): CSSResult {
|
||||
return css`
|
||||
static get styles(): CSSResultArray {
|
||||
return [
|
||||
haStyleDialog,
|
||||
css`
|
||||
ha-paper-dropdown-menu {
|
||||
width: 100%;
|
||||
}
|
||||
`;
|
||||
`,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user