Skip to content

Commit fc60b5b

Browse files
floedeMatthew-Wise
authored andcommitted
Add custom property for #headerColumn
1 parent 8481104 commit fc60b5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Umbraco.Web.UI.Client/src/packages/core/property/components/property-layout/property-layout.element.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,12 @@ export class UmbPropertyLayoutElement extends UmbLitElement {
124124
#headerColumn {
125125
position: relative;
126126
height: min-content;
127+
top: var(--umb-property-layout-header-top);
127128
}
128129
/*@container (width > 600px) {*/
129130
:host(:not([orientation='vertical'])) #headerColumn {
130131
position: sticky;
131-
top: calc(var(--uui-size-space-2) * -1);
132+
top: var(--umb-property-layout-header-top, calc(var(--uui-size-space-2) * -1));
132133
}
133134
/*}*/
134135

0 commit comments

Comments
 (0)