From 75535720297206e938ebf2111c88916dd1678e31 Mon Sep 17 00:00:00 2001 From: nizune <9-nizune@users.noreply.gitlab.insrt.uk> Date: Sat, 3 Jul 2021 11:12:42 +0200 Subject: [PATCH] Fix: Friends categories now sticky --- src/pages/friends/Friend.module.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pages/friends/Friend.module.scss b/src/pages/friends/Friend.module.scss index bc311948..af867b28 100644 --- a/src/pages/friends/Friend.module.scss +++ b/src/pages/friends/Friend.module.scss @@ -14,15 +14,18 @@ padding: 0 10px 10px 10px; user-select: none; overflow-y: scroll; + + summary { + position: sticky; + z-index: 10; + top: -1px; + } .overline { display: flex; - position: sticky; align-items: center; - top: 0; background: var(--primary-background); padding: 5px 0; - z-index: 10; cursor: pointer; .title {