fix: single rounded-2xl overflow-hidden container clips all cells

Remove individual cell rounded corners. Parent grid has rounded-2xl + overflow-hidden
for unified frame shape. Each cell still has own bg-white/40 + backdrop-blur-xl.
Center cell stays transparent.
This commit is contained in:
2026-06-06 01:11:45 -04:00
parent a135ee5a34
commit 8da7d0bd90
+5 -5
View File
@@ -116,10 +116,10 @@ export default function App() {
<Particles type={currentScene.particles ?? 'none'} /> <Particles type={currentScene.particles ?? 'none'} />
<div className="relative z-20 h-full p-4"> <div className="relative z-20 h-full p-4">
<div className="h-full grid grid-rows-[auto_1fr_auto] grid-cols-[288px_1fr_256px]"> <div className="h-full grid grid-rows-[auto_1fr_auto] grid-cols-[288px_1fr_256px] rounded-2xl overflow-hidden">
{/* ── Top bar: scene selector + clock ── */} {/* ── Top bar: scene selector + clock ── */}
<div className="col-span-3 flex items-center justify-between px-5 py-3 shrink-0 bg-white/40 backdrop-blur-xl rounded-t-2xl"> <div className="col-span-3 flex items-center justify-between px-5 py-3 shrink-0 bg-white/40 backdrop-blur-xl">
<div className="flex items-center gap-1"> <div className="flex items-center gap-1">
{SCENES.map((s) => ( {SCENES.map((s) => (
<button key={s.id} onClick={() => handleSceneChange(s.id)} <button key={s.id} onClick={() => handleSceneChange(s.id)}
@@ -138,7 +138,7 @@ export default function App() {
</div> </div>
{/* ── Left sidebar ── */} {/* ── Left sidebar ── */}
<div className="flex flex-col gap-3 p-3 overflow-y-auto bg-white/40 backdrop-blur-xl rounded-bl-2xl"> <div className="flex flex-col gap-3 p-3 overflow-y-auto bg-white/40 backdrop-blur-xl">
<div className="shrink-0"> <div className="shrink-0">
<Timer /> <Timer />
</div> </div>
@@ -162,7 +162,7 @@ export default function App() {
</div> </div>
{/* ── Right sidebar ── */} {/* ── Right sidebar ── */}
<div className="flex flex-col p-3 overflow-y-auto bg-white/40 backdrop-blur-xl rounded-br-2xl"> <div className="flex flex-col p-3 overflow-y-auto bg-white/40 backdrop-blur-xl">
<div className="flex-1 flex flex-col gap-3 overflow-y-auto"> <div className="flex-1 flex flex-col gap-3 overflow-y-auto">
<MusicPlayer /> <MusicPlayer />
<WhiteNoise /> <WhiteNoise />
@@ -171,7 +171,7 @@ export default function App() {
</div> </div>
{/* ── Bottom status bar ── */} {/* ── Bottom status bar ── */}
<div className="col-span-3 shrink-0 px-5 py-2 flex items-center justify-between text-[11px] text-kira-plum/30 bg-white/40 backdrop-blur-xl rounded-b-2xl"> <div className="col-span-3 shrink-0 px-5 py-2 flex items-center justify-between text-[11px] text-kira-plum/30 bg-white/40 backdrop-blur-xl">
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<span className={`w-1.5 h-1.5 rounded-full ${ <span className={`w-1.5 h-1.5 rounded-full ${
isRecording ? 'bg-red-400 animate-pulse' isRecording ? 'bg-red-400 animate-pulse'