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

Add more summary styling

parent 695372d7
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ class VPUNotification extends VPULitElement {
const body = typeof e.detail.body !== 'undefined' ? e.detail.body : "";
const summary = typeof e.detail.summary !== 'undefined' ? e.detail.summary : "";
const timeout = typeof e.detail.timeout !== 'undefined' ? e.detail.timeout : 0;
const summaryHTML = summary !== "" ? `<strong>${summary}</strong><br/>` : "";
const summaryHTML = summary !== "" ? `<h3>${summary}</h3>` : "";
that.notificationBlock.innerHTML = `
<div id="${notificationId}" class="notification is-${type}">
......@@ -74,6 +74,7 @@ class VPUNotification extends VPULitElement {
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css">
<style>
#notification {position: fixed; top: 0; max-width: 500px; margin: 1% auto; left: 0; right: 0;}
.notification h3 {font-weight: bold; margin-bottom: 3px;}
</style>
<div class="columns">
......
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