chore: fix a couple of sonarcloud warnings

This commit is contained in:
Jacob Overgaard
2024-09-18 08:25:47 +02:00
parent a7a74a9bc3
commit a8be2c709f
2 changed files with 2 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ export class UmbTiptapFixedMenuElement extends UmbLitElement {
`;
}
static override styles = css`
static override readonly styles = css`
:host {
border-radius: var(--uui-border-radius);
border: 1px solid var(--uui-color-border);

View File

@@ -38,7 +38,7 @@ export class UmbTiptapHoverMenuElement extends LitElement {
return html`<uui-popover-container></uui-popover-container>`;
}
static override styles = css`
static override readonly styles = css`
:host {
position: fixed;
background-color: var(--uui-color-surface-alt);