diff --git a/_includes/main.liquid b/_includes/main.liquid index ce367c8c989..19b7d125cb0 100644 --- a/_includes/main.liquid +++ b/_includes/main.liquid @@ -65,7 +65,7 @@
X - Help Chainlink by taking a 1 minute survey! + Make your voice heard, take the 2021 Chainlink Developer Survey!
diff --git a/_src/docs.css b/_src/docs.css index fe4f15e75ad..1cab9b5ad00 100644 --- a/_src/docs.css +++ b/_src/docs.css @@ -181,6 +181,9 @@ navigation .menu { transition: max-height 2s ease-out; max-height: 0px; overflow: hidden; + position: sticky; + top: 0; + z-index: 15000; } .notification-info { position: relative; diff --git a/_src/notification.js b/_src/notification.js index 396b8ba5947..6b07b1e592d 100644 --- a/_src/notification.js +++ b/_src/notification.js @@ -5,7 +5,8 @@ document.addEventListener('DOMContentLoaded', () => { if (!state) { setTimeout(() => { notification.style['max-height'] = '100px'; - }, 2500); + }, 1000); + // Change style to be fixed state = 'seen'; localStorage[`notification-${key}`] = JSON.stringify(state); } else if (state === 'seen') {