Update NowPlaying style

This commit is contained in:
Sumire Isshiki 2024-01-23 09:21:15 +09:00
parent 7f1ef366e2
commit 0fda308605
2 changed files with 50 additions and 50 deletions

View File

@ -61,13 +61,14 @@ export default function App() {
<div id="mutuals">
<Mutuals />
</div>
<div className="flex justify-center">
<div>
<div className={`sticky h-screen absolute`} style={{ opacity: cardOpacity, marginTop: `${document.getElementById("mutuals")?.offsetHeight}px` }}>
<div id="card" className="fixed bg-neutral-900 py-5 -ml-40 -mt-20" style={{ top: `${cardY}px` }}>
<div id="card" className="fixed bg-neutral-900 py-5 -mt-20" style={{ top: `${cardY}px` }}>
<Card />
</div>
</div>
<div className="flex justify-center">
<div id="content" className="absolute text-white max-w-6xl" style={{ top: `${contentY}px`}}>
<div className="grid grid-cols-1 xl:grid-cols-2 gap-4 mb-5 w-full">
<Profile />
@ -82,6 +83,7 @@ export default function App() {
<Footer />
</div>
</div>
</div>
</div>
</>
)

File diff suppressed because it is too large Load Diff