add display:contents to umb-localize

This commit is contained in:
Jacob Overgaard
2023-08-02 12:06:47 +02:00
parent d9fa3b9460
commit a5bee4b89a

View File

@@ -1,4 +1,4 @@
import { customElement, html, property, state } from '@umbraco-cms/backoffice/external/lit';
import { css, customElement, html, property, state } from '@umbraco-cms/backoffice/external/lit';
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
/**
@@ -56,6 +56,14 @@ export class UmbLocalizeElement extends UmbLitElement {
? html`<span style="color:red">${this.key}</span>`
: html`<slot></slot>`;
}
static styles = [
css`
:host {
display: contents;
}
`,
];
}
declare global {