feat: keep ITTO highlight controls sticky

This commit is contained in:
ittoview
2026-05-23 03:47:58 +01:00
parent d3ae9697ef
commit 8a66eb50e1

View File

@@ -160,6 +160,7 @@ export function IttoCollectionsPage() {
return ( return (
<div className="space-y-4"> <div className="space-y-4">
<div className="space-y-3 sticky top-20 z-30 rounded-2xl bg-gray-50/95 pb-1 backdrop-blur dark:bg-gray-900/95">
<div className="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between"> <div className="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between">
<div> <div>
<h1 className="text-xl font-bold text-gray-900 dark:text-white"> · · </h1> <h1 className="text-xl font-bold text-gray-900 dark:text-white"> · · </h1>
@@ -201,6 +202,7 @@ export function IttoCollectionsPage() {
</button> </button>
</div> </div>
)} )}
</div>
<motion.div <motion.div
key={activeTab} key={activeTab}