Skip to content

Commit 7ebe783

Browse files
committed
remove styling detail
1 parent d3b127c commit 7ebe783

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/packages/block/block-grid/components/block-grid-entry/block-grid-entry.element.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -316,21 +316,9 @@ export class UmbBlockGridEntryElement extends UmbLitElement implements UmbProper
316316
:host(:not([index='0'])) uui-button-inline-create:not([vertical]) {
317317
top: calc(var(--umb-block-grid--row-gap, 0px) * -0.5);
318318
}
319-
320-
:host([at-root]) uui-button-inline-create[vertical] {
321-
/* If at root, and full-width then become 40px wider: */
322-
--calc: clamp(0, calc(var(--umb-block-grid--item-column-span) - (var(--umb-block-grid--grid-columns)-1)), 1);
323-
left: calc(-20px * var(--calc));
324-
width: calc(var(--umb-block-grid-editor--inline-create-width, 100%) + 40px * var(--calc));
325-
}
326319
uui-button-inline-create[vertical] {
327320
right: calc(1px - (var(--umb-block-grid--column-gap, 0px) * 0.5));
328321
}
329-
:host([at-root]) uui-button-inline-create[vertical] {
330-
/* If at root, and full-width then move a little out to the right: */
331-
--calc: clamp(0, calc(var(--umb-block-grid--item-column-span) - (var(--umb-block-grid--grid-columns)-1)), 1);
332-
right: calc(-2px * var(--calc));
333-
}
334322
335323
:host([drag-placeholder]) {
336324
opacity: 0.2;

0 commit comments

Comments
 (0)