Remove some styles that are now useless after the position style was changed.

This commit is contained in:
2026-06-26 22:53:12 +02:00
parent 742cb6f377
commit 113b6ff57a
+2 -10
View File
@@ -54,25 +54,17 @@ class TpDialog extends EventHelpers(LitElement) {
pointer-events: all; pointer-events: all;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden;
} }
dialog:not([open]) { dialog:not([open]) {
display: none; display: none;
} }
/* Only clip/scroll once the dialog has been explicitly sized via resize. */
:host([constrained]) dialog {
overflow: hidden;
}
.scroll-wrapper { .scroll-wrapper {
flex: 1; flex: 1;
box-sizing: border-box; box-sizing: border-box;
min-height: 0; min-height: 0;
overflow: visible;
}
:host([constrained]) .scroll-wrapper {
overflow: auto; overflow: auto;
} }