fix(App): adjust Toaster offset and change close button to expand for better visibility
This commit is contained in:
parent
11b9bb5b16
commit
31bac8f700
|
|
@ -236,9 +236,9 @@ function AppPage({ title, onBack }: { title: string; onBack: () => void }) {
|
||||||
<div className="size-full flex flex-col bg-neutral-50">
|
<div className="size-full flex flex-col bg-neutral-50">
|
||||||
<Toaster
|
<Toaster
|
||||||
position="bottom-center"
|
position="bottom-center"
|
||||||
offset="calc(4rem + env(safe-area-inset-bottom))"
|
offset="calc(4.5rem + env(safe-area-inset-bottom))"
|
||||||
richColors
|
richColors
|
||||||
closeButton
|
expand
|
||||||
duration={5000}
|
duration={5000}
|
||||||
toastOptions={{
|
toastOptions={{
|
||||||
style: { fontSize: '0.9rem', fontWeight: 500, padding: '14px 16px' },
|
style: { fontSize: '0.9rem', fontWeight: 500, padding: '14px 16px' },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user