diff --git a/src/dependencies.pug b/src/dependencies.pug index f5c7451..2f74b10 100644 --- a/src/dependencies.pug +++ b/src/dependencies.pug @@ -11,7 +11,7 @@ script(type="module" src="https://unpkg.com/@startinblox/oidc@0.9" defer) script(type="module" src="https://unpkg.com/@startinblox/router@0.8" defer) //- script(type="module" src="/lib/solid-router/src/index.js" defer) -script(type="module" src="https://unpkg.com/@startinblox/component-notifications@0.4" defer) +script(type="module" src="https://unpkg.com/@startinblox/component-notifications@0.5.0-beta.2" defer) //- script(type="module" src="/lib/sib-notifications/index.js" defer) if endpoints.events || (endpoints.get && endpoints.get.events) diff --git a/src/header.pug b/src/header.pug index 75a2806..33df8cc 100644 --- a/src/header.pug +++ b/src/header.pug @@ -2,7 +2,7 @@ solid-link(next='dashboard') img(src=`${clientLogo || '/images/logo.png'}` style=`max-height:${clientLogoHeight || '32px'}`) -sib-notifications.notLoggedIn( +solid-notifications.notLoggedIn( nested-field="inbox" bind-user ) diff --git a/src/styles/base/header.scss b/src/styles/base/header.scss index 4634d8d..9e9a011 100644 --- a/src/styles/base/header.scss +++ b/src/styles/base/header.scss @@ -74,10 +74,10 @@ solid-notifications { padding: 0; } - .sib-notifications__container { + .solid-notifications__container { position: relative; - .sib-notifications__button { + .solid-notifications__button { @include icon('bell'); font-size: 2.5rem; @@ -93,7 +93,7 @@ solid-notifications { display: none; } - .sib-notifications__counter { + .solid-notifications__counter { left: 2rem; position: absolute; top: 1px; @@ -105,7 +105,7 @@ solid-notifications { } } - .sib-notifications__list { + .solid-notifications__list { overflow-x: hidden; position: fixed; left: 0;