This commit is contained in:
Niels Lyngsø
2025-05-08 11:27:59 +02:00
committed by GitHub
parent 822cfe9c28
commit e9a5dafc62
4 changed files with 27 additions and 0 deletions

View File

@@ -29,7 +29,9 @@ export class ExampleBlockCustomView extends UmbElementMixin(LitElement) implemen
UmbTextStyles,
css`
:host {
position: relative;
display: block;
z-index: 10000;
height: 100%;
box-sizing: border-box;
background-color: red;
@@ -38,6 +40,12 @@ export class ExampleBlockCustomView extends UmbElementMixin(LitElement) implemen
padding: 12px;
}
:host > div {
position: relative;
display: block;
z-index: 10000;
}
.align-center {
text-align: center;
}