fix: bookmark ribbon is now placed correctly when sidebar is pinned (#1565)

This commit is contained in:
Huang Xin
2025-07-10 00:23:55 +08:00
committed by GitHub
parent 9fb7e80757
commit 2b52f82b57
@@ -9,7 +9,7 @@ const Ribbon: React.FC<RibbonProps> = ({}) => {
return (
<div
className={clsx(
'fixed inset-0 z-10 flex w-8 justify-center sm:w-6',
'ribbon absolute inset-0 z-10 flex w-8 justify-center sm:w-6',
'h-[calc(env(safe-area-inset-top)+44px)]',
)}
>