diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/modal/common/property-settings/property-settings-modal.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/modal/common/property-settings/property-settings-modal.element.ts index 0f85872c75..7cc4e54ca4 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/modal/common/property-settings/property-settings-modal.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/modal/common/property-settings/property-settings-modal.element.ts @@ -229,34 +229,32 @@ export class UmbPropertySettingsModalElement extends UmbModalBaseElement< } #renderAlignLeftIcon() { - return html`
''} class="appearance left ${this._returnData.appearance?.labelOnTop ? '' : 'selected'}"> - - - - - + + + + -
`; + `; } #renderAlignTopIcon() { return html` -
''} class="appearance top ${this._returnData.appearance?.labelOnTop ? 'selected' : ''}"> - - - - - + + + + -
+ `; } @@ -319,10 +317,11 @@ export class UmbPropertySettingsModalElement extends UmbModalBaseElement< .appearance { position: relative; display: flex; - border: 2px solid var(--uui-color-border-standalone); + border: 1px solid var(--uui-color-border-standalone); + background-color: transparent; padding: var(--uui-size-space-4) var(--uui-size-space-5); align-items: center; - border-radius: 6px; + border-radius: var(--uui-border-radius); opacity: 0.8; flex-direction: column; justify-content: space-between; @@ -331,6 +330,8 @@ export class UmbPropertySettingsModalElement extends UmbModalBaseElement< .appearance-label { font-size: 0.8rem; line-height: 1; + font-weight: bold; + pointer-events: none; } .appearance.left { flex-grow: 1; @@ -343,15 +344,13 @@ export class UmbPropertySettingsModalElement extends UmbModalBaseElement< width: 100%; color: var(--uui-color-text); } - .appearance.selected .appearance-label { - font-weight: bold; - } .appearance:not(.selected):hover { border-color: var(--uui-color-border-emphasis); cursor: pointer; opacity: 1; } .appearance.selected { + background-color: var(--uui-color-surface); border-color: var(--uui-color-selected); color: var(--uui-color-selected); opacity: 1;