Skip to content

Commit 7b7b18e

Browse files
committed
p
1 parent a39dc4c commit 7b7b18e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/packages/core/notification/layouts/default/notification-layout-default.element.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class UmbNotificationLayoutDefaultElement extends LitElement {
3636
return html`${Object.entries(list).map(
3737
([property, errors]) =>
3838
html`<div class="structured-list">
39-
<span>${property}:</span>
39+
<p>${property}:</p>
4040
<ul>
4141
${this.#renderListItem(errors)}
4242
</ul>
@@ -58,9 +58,8 @@ export class UmbNotificationLayoutDefaultElement extends LitElement {
5858
.structured-list ul {
5959
margin: 0;
6060
}
61-
.structured-list span {
62-
display: block;
63-
padding: var(--uui-size-3) 0 var(--uui-size-1);
61+
.structured-list p {
62+
margin: var(--uui-size-3) 0 var(--uui-size-1);
6463
}
6564
`,
6665
];

0 commit comments

Comments
 (0)