File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
src/packages/block/block-grid/components/block-grid-entry Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -316,21 +316,9 @@ export class UmbBlockGridEntryElement extends UmbLitElement implements UmbProper
316
316
: host (: not ([index = '0' ])) uui- butto n- inline-create: not ([vertical ]) {
317
317
top : calc (var (--umb-block-grid--row-gap , 0px ) * -0.5 );
318
318
}
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
- }
326
319
uui-button-inline-create [vertical ] {
327
320
right : calc (1px - (var (--umb-block-grid--column-gap , 0px ) * 0.5 ));
328
321
}
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
- }
334
322
335
323
: host ([drag-placeholder ]) {
336
324
opacity : 0.2 ;
You can’t perform that action at this time.
0 commit comments