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
All checks were successful
Deploy Waveform to VPS / deploy (push) Successful in 1m13s
This commit is contained in:
parent
778126627f
commit
48151906d3
4 changed files with 4 additions and 5 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue