mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-20 02:38:53 +00:00
Fix from rebase
This commit is contained in:
@@ -354,82 +354,79 @@ export class HaWaDialog extends ScrollableFadeMixin(LitElement) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.header-title-container {
|
.header-title-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-title {
|
.header-title {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
color: var(
|
color: var(--ha-dialog-header-title-color, var(--primary-text-color));
|
||||||
--ha-dialog-header-title-color,
|
font-size: var(
|
||||||
var(--primary-text-color)
|
--ha-dialog-header-title-font-size,
|
||||||
);
|
var(--ha-font-size-2xl)
|
||||||
font-size: var(
|
);
|
||||||
--ha-dialog-header-title-font-size,
|
line-height: var(
|
||||||
var(--ha-font-size-2xl)
|
--ha-dialog-header-title-line-height,
|
||||||
);
|
var(--ha-line-height-condensed)
|
||||||
line-height: var(
|
);
|
||||||
--ha-dialog-header-title-line-height,
|
font-weight: var(
|
||||||
var(--ha-line-height-condensed)
|
--ha-dialog-header-title-font-weight,
|
||||||
);
|
var(--ha-font-weight-normal)
|
||||||
font-weight: var(
|
);
|
||||||
--ha-dialog-header-title-font-weight,
|
overflow: hidden;
|
||||||
var(--ha-font-weight-normal)
|
text-overflow: ellipsis;
|
||||||
);
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
margin-right: var(--ha-space-3);
|
||||||
text-overflow: ellipsis;
|
}
|
||||||
white-space: nowrap;
|
|
||||||
margin-right: var(--ha-space-3);
|
|
||||||
}
|
|
||||||
|
|
||||||
wa-dialog::part(body) {
|
wa-dialog::part(body) {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-wrapper {
|
.content-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.body {
|
.body {
|
||||||
position: var(--dialog-content-position, relative);
|
position: var(--dialog-content-position, relative);
|
||||||
padding: var(
|
padding: var(
|
||||||
--dialog-content-padding,
|
--dialog-content-padding,
|
||||||
0 var(--ha-space-6) var(--ha-space-6) var(--ha-space-6)
|
0 var(--ha-space-6) var(--ha-space-6) var(--ha-space-6)
|
||||||
);
|
);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
:host([flexcontent]) .body {
|
:host([flexcontent]) .body {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
wa-dialog::part(footer) {
|
wa-dialog::part(footer) {
|
||||||
padding: var(--ha-space-0);
|
padding: var(--ha-space-0);
|
||||||
}
|
}
|
||||||
|
|
||||||
::slotted([slot="footer"]) {
|
::slotted([slot="footer"]) {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: var(--ha-space-3) var(--ha-space-4) var(--ha-space-4)
|
padding: var(--ha-space-3) var(--ha-space-4) var(--ha-space-4)
|
||||||
var(--ha-space-4);
|
var(--ha-space-4);
|
||||||
gap: var(--ha-space-3);
|
gap: var(--ha-space-3);
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user