Skip to content
Snippets Groups Projects
Commit 54c8039b authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire: Committed by Reiter, Christoph
Browse files

Add more styling

parent 7bf1b9c3
No related branches found
No related tags found
No related merge requests found
...@@ -31,9 +31,6 @@ class NotificationDemo extends LitElement { ...@@ -31,9 +31,6 @@ class NotificationDemo extends LitElement {
<div class="container"> <div class="container">
<h1 class="title">Notification-Demo</h1> <h1 class="title">Notification-Demo</h1>
</div> </div>
<div class="container">
<vpu-notification lang="${this.lang}"></vpu-notification>
</div>
<div class="container"> <div class="container">
<div class="columns is-vcentered"> <div class="columns is-vcentered">
<div class="column"> <div class="column">
...@@ -41,6 +38,9 @@ class NotificationDemo extends LitElement { ...@@ -41,6 +38,9 @@ class NotificationDemo extends LitElement {
</div> </div>
</div> </div>
</div> </div>
<div class="container">
<vpu-notification lang="${this.lang}"></vpu-notification>
</div>
</section> </section>
`; `;
} }
......
...@@ -38,6 +38,7 @@ class VPUNotification extends VPULitElement { ...@@ -38,6 +38,7 @@ class VPUNotification extends VPULitElement {
// TODO: take care about summary and timeout // TODO: take care about summary and timeout
that._("#notification").innerHTML += ` that._("#notification").innerHTML += `
<div id="notification" class="notification is-${type}"> <div id="notification" class="notification is-${type}">
<button class="delete"></button>
${body} ${body}
</div> </div>
`; `;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment