Hide QR codes on mobile

This commit is contained in:
Ananth Venkatesh 2024-02-16 19:53:46 +00:00
parent 7c3f4e5218
commit 2fc1a2c803

View file

@ -50,7 +50,7 @@ const DocumentViewer = ({ slug }: Readonly<{ slug: string }>) => {
return ( return (
<div className='max-w-4xl lg:max-w-6xl mx-auto'> <div className='max-w-4xl lg:max-w-6xl mx-auto'>
<div> <div>
<div className='mr-8 mb-4 mt-4 inline'> <div className='mr-8 mb-4 mt-4 hidden md:inline'>
<QRCode value={citation ?? `eeXiv:${generateHash(slug)}`} /> <QRCode value={citation ?? `eeXiv:${generateHash(slug)}`} />
</div> </div>
<h1 <h1