fix(settings): resolve scrolling layout issue and add spacing between collapsible cards
All checks were successful
Deploy Waveform to VPS / deploy (push) Successful in 1m13s

This commit is contained in:
Chneemann 2026-09-27 20:37:39 +02:00
parent 778126627f
commit 48151906d3
No known key found for this signature in database
4 changed files with 4 additions and 5 deletions

View file

@ -18,9 +18,8 @@ export default async function SettingsPage() {
} }
return ( return (
<div className="flex p-4 flex-col h-full w-full bg-background min-h-0 overflow-hidden"> <div className="flex flex-col h-full w-full bg-background p-4 min-h-0 overflow-hidden">
<AppHeader isSettings /> <AppHeader isSettings />
<SettingsView /> <SettingsView />
<AppFooter /> <AppFooter />
</div> </div>

View file

@ -63,7 +63,7 @@ export function SettingsDeleteAccountCard({
}; };
return ( return (
<div className="bg-surface border border-rose-500/20 rounded-xl overflow-hidden transition-all shrink-0"> <div className="bg-surface border border-muted/20 rounded-xl overflow-hidden transition-all shrink-0">
{/* Header / Toggle Button */} {/* Header / Toggle Button */}
<button <button
type="button" type="button"

View file

@ -33,7 +33,7 @@ export function SettingsProfileCard({
if (!currentUser) return null; if (!currentUser) return null;
return ( return (
<div className="bg-surface border border-muted/20 rounded-xl overflow-hidden transition-all"> <div className="bg-surface border border-muted/20 rounded-xl overflow-hidden transition-all shrink-0">
{/* Clickable Header / Toggle Bar */} {/* Clickable Header / Toggle Bar */}
<button <button
type="button" type="button"

View file

@ -26,7 +26,7 @@ export function SettingsView() {
if (!currentUser) return null; if (!currentUser) return null;
return ( return (
<div className="flex-1 flex flex-col gap-4 py-4 min-h-0"> <div className="flex-1 overflow-y-auto flex flex-col gap-4 py-4 min-h-0 pr-1">
<SettingsProfileCard onUpdate={updateProfile} /> <SettingsProfileCard onUpdate={updateProfile} />
<SettingsDeleteAccountCard /> <SettingsDeleteAccountCard />
</div> </div>