mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 21:17:47 +00:00
Fix width of entity editor
This commit is contained in:
parent
1d7f3e4d66
commit
c094f3375a
@ -1,25 +1,26 @@
|
|||||||
import "@material/mwc-tab-bar";
|
|
||||||
import "@material/mwc-tab";
|
|
||||||
import "@material/mwc-icon-button";
|
import "@material/mwc-icon-button";
|
||||||
|
import "@material/mwc-tab";
|
||||||
|
import "@material/mwc-tab-bar";
|
||||||
|
import { mdiClose, mdiTune } from "@mdi/js";
|
||||||
import { HassEntity } from "home-assistant-js-websocket";
|
import { HassEntity } from "home-assistant-js-websocket";
|
||||||
import {
|
import {
|
||||||
css,
|
css,
|
||||||
CSSResult,
|
CSSResult,
|
||||||
customElement,
|
customElement,
|
||||||
html,
|
html,
|
||||||
|
internalProperty,
|
||||||
LitElement,
|
LitElement,
|
||||||
property,
|
property,
|
||||||
internalProperty,
|
|
||||||
TemplateResult,
|
TemplateResult,
|
||||||
} from "lit-element";
|
} from "lit-element";
|
||||||
import { cache } from "lit-html/directives/cache";
|
import { cache } from "lit-html/directives/cache";
|
||||||
import { fireEvent } from "../../../common/dom/fire_event";
|
|
||||||
import { dynamicElement } from "../../../common/dom/dynamic-element-directive";
|
import { dynamicElement } from "../../../common/dom/dynamic-element-directive";
|
||||||
|
import { fireEvent } from "../../../common/dom/fire_event";
|
||||||
import { computeStateName } from "../../../common/entity/compute_state_name";
|
import { computeStateName } from "../../../common/entity/compute_state_name";
|
||||||
import "../../../components/ha-dialog";
|
import "../../../components/ha-dialog";
|
||||||
import "../../../components/ha-header-bar";
|
import "../../../components/ha-header-bar";
|
||||||
import "../../../components/ha-svg-icon";
|
|
||||||
import "../../../components/ha-related-items";
|
import "../../../components/ha-related-items";
|
||||||
|
import "../../../components/ha-svg-icon";
|
||||||
import {
|
import {
|
||||||
EntityRegistryEntry,
|
EntityRegistryEntry,
|
||||||
ExtEntityRegistryEntry,
|
ExtEntityRegistryEntry,
|
||||||
@ -30,7 +31,6 @@ import type { HomeAssistant } from "../../../types";
|
|||||||
import { PLATFORMS_WITH_SETTINGS_TAB } from "./const";
|
import { PLATFORMS_WITH_SETTINGS_TAB } from "./const";
|
||||||
import "./entity-registry-settings";
|
import "./entity-registry-settings";
|
||||||
import type { EntityRegistryDetailDialogParams } from "./show-dialog-entity-editor";
|
import type { EntityRegistryDetailDialogParams } from "./show-dialog-entity-editor";
|
||||||
import { mdiClose, mdiTune } from "@mdi/js";
|
|
||||||
|
|
||||||
interface Tabs {
|
interface Tabs {
|
||||||
[key: string]: Tab;
|
[key: string]: Tab;
|
||||||
@ -252,7 +252,7 @@ export class DialogEntityEditor extends LitElement {
|
|||||||
|
|
||||||
@media all and (min-width: 451px) and (min-height: 501px) {
|
@media all and (min-width: 451px) and (min-height: 501px) {
|
||||||
.wrapper {
|
.wrapper {
|
||||||
width: 400px;
|
min-width: 400px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user