From 9e43594019f56e46d9595ef2ba4a3b5da332ea83 Mon Sep 17 00:00:00 2001 From: Lilian Date: Sun, 2 Feb 2025 14:23:15 +0100 Subject: [PATCH] [frontend] Improve overscroll behavior --- Iceshrimp.Frontend/Components/NotificationList.razor.css | 1 + Iceshrimp.Frontend/wwwroot/css/app.css | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Iceshrimp.Frontend/Components/NotificationList.razor.css b/Iceshrimp.Frontend/Components/NotificationList.razor.css index bf883f72..82f0d73e 100644 --- a/Iceshrimp.Frontend/Components/NotificationList.razor.css +++ b/Iceshrimp.Frontend/Components/NotificationList.razor.css @@ -4,6 +4,7 @@ flex-direction: column; width: 100%; overflow-x: auto; + overscroll-behavior: contain; } .wrapper { diff --git a/Iceshrimp.Frontend/wwwroot/css/app.css b/Iceshrimp.Frontend/wwwroot/css/app.css index b10f23d9..d5b3b326 100644 --- a/Iceshrimp.Frontend/wwwroot/css/app.css +++ b/Iceshrimp.Frontend/wwwroot/css/app.css @@ -20,8 +20,9 @@ --accent-color: linear-gradient(to right, #9A92FF, #8372F5); --notice-color: #92c1ff; --font-color: #e7edff; - --link: #9E9EFF - + --link: #9E9EFF; + + overscroll-behavior: none; }