Skip to content

Commit 8578a2c

Browse files
authored
Merge pull request #1848 from mattbrailsford/bug/sticky-vertical-properties
Bugfix: Don't enable sticky styles in `umb-property-layout` vertical orientation
2 parents f6e8303 + f93ca0b commit 8578a2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/packages/core/property/property-layout/property-layout.element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class UmbPropertyLayoutElement extends LitElement {
104104
height: min-content;
105105
}
106106
/*@container (width > 600px) {*/
107-
#headerColumn {
107+
:host(:not([orientation='vertical'])) #headerColumn {
108108
position: sticky;
109109
top: calc(var(--uui-size-space-2) * -1);
110110
}
@@ -128,7 +128,7 @@ export class UmbPropertyLayoutElement extends LitElement {
128128
margin-top: var(--uui-size-space-3);
129129
}
130130
/*@container (width > 600px) {*/
131-
#editorColumn {
131+
:host(:not([orientation='vertical'])) #editorColumn {
132132
margin-top: 0;
133133
}
134134
/*}*/

0 commit comments

Comments
 (0)