From e5285ef6c87a8663936be265bccc6fb1b5d0b386 Mon Sep 17 00:00:00 2001
From: Lone Iversen <108085781+loivsen@users.noreply.github.com>
Date: Thu, 11 Jan 2024 11:18:55 +0100
Subject: [PATCH] property editor button
---
.../property-editor-ui-block-list.element.ts | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/Umbraco.Web.UI.Client/src/packages/block/block-list/property-editors/block-list-editor/property-editor-ui-block-list.element.ts b/src/Umbraco.Web.UI.Client/src/packages/block/block-list/property-editors/block-list-editor/property-editor-ui-block-list.element.ts
index 192a7eb4eb..cc366c5e9b 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/block/block-list/property-editors/block-list-editor/property-editor-ui-block-list.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/block/block-list/property-editors/block-list-editor/property-editor-ui-block-list.element.ts
@@ -148,11 +148,14 @@ export class UmbPropertyEditorUIBlockListElement extends UmbLitElement implement
this.#openBlockCatalogue('createEmpty')}
- >Add${this.localize.term('content_createEmpty')}
- this.#openBlockCatalogue('clipboard')}>
+ this.#openBlockCatalogue('clipboard')}>
`;
@@ -166,6 +169,11 @@ export class UmbPropertyEditorUIBlockListElement extends UmbLitElement implement
flex-direction: column;
align-items: stretch;
}
+
+ uui-button-group {
+ display: grid;
+ grid-template-columns: 1fr auto;
+ }
`,
];
}