From 911d858819f6de9289244d5ac2f13c64aee9895f Mon Sep 17 00:00:00 2001 From: Itzfew <113174780+itzfew@users.noreply.github.com> Date: Thu, 30 Jan 2025 20:41:29 +0530 Subject: [PATCH] Update styless.css --- styless.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/styless.css b/styless.css index 7e3f39d..7239841 100644 --- a/styless.css +++ b/styless.css @@ -189,15 +189,16 @@ button:hover { position: absolute; top: 40px; right: 0; - width: 400px; - max-height: 400px; - overflow-y: auto; + width: 95vw; + max-height: 90vh; /* Limit max height to viewport height */ background-color: #fff; - border: 1px solid #ddd; + border: 1px solid #ddd; border-radius: 5px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); padding: 10px; z-index: 1000; + box-sizing: border-box; /* Prevent padding from increasing the dropdown width */ + overflow-y: auto; } .notification-item {