Skip to content

Commit edb0b96

Browse files
committed
Fix footer on mobile
1 parent e8922d6 commit edb0b96

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/Footer.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ export function Footer() {
44
return (
55
<footer className="m-8 text-sm text-muted">
66
<div className="flex flex-col items-center space-y-2">
7-
<div className="flex space-x-3">
8-
<Popover className="relative">
7+
<div className="flex flex-wrap md:flex-nowrap items-center justify-center text-center md:space-x-3">
8+
<Popover className="flex relative">
99
<PopoverButton className="hover:text-foreground transition-colors">
1010
Privacy info
1111
</PopoverButton>
12-
<PopoverPanel className="absolute bottom-8 bg-base p-4 rounded-lg shadow-lg w-64">
12+
<PopoverPanel anchor="bottom start" className="bg-base p-4 rounded-lg shadow-lg w-64">
1313
<p>No data collection. Documents are uploaded to your local browser cache.</p>
1414
<p className='mt-3'>Each sentence of the document you are viewing is sent to my FastAPI server for audio generation, no requests or data is collected.</p>
1515
</PopoverPanel>
1616
</Popover>
17-
<span></span>
17+
<span className='w-full md:w-fit'></span>
1818
<span>
1919
Powered by{' '}
2020
<a

0 commit comments

Comments
 (0)