From 56062545762831be7b8c8cdead7d8cfaf182684a Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 29 Aug 2021 15:15:02 +0700 Subject: notif: make the notification position to fixed This is to fix the notification hidden when the current document have scroll. --- notif/example.html | 4 ++++ notif/notif.js | 4 ++-- notif/notif.ts | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/notif/example.html b/notif/example.html index e6b12c5..b1211b0 100644 --- a/notif/example.html +++ b/notif/example.html @@ -8,9 +8,13 @@ width: calc(100% - 1em); height: 4em; } + .empty { + height: 100vh; + } +

Empty spaces.