update iframe rules home

This commit is contained in:
Alma 2025-04-09 16:23:50 +02:00
parent 03e5865856
commit 1fd21f73df
2 changed files with 5 additions and 6 deletions

View File

@ -16,6 +16,10 @@ export default async function Page() {
<ResponsiveIframe <ResponsiveIframe
src={process.env.NEXT_PUBLIC_IFRAME_MAIL_URL || ''} src={process.env.NEXT_PUBLIC_IFRAME_MAIL_URL || ''}
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
style={{
marginTop: '-64px',
height: 'calc(100% + 64px)'
}}
/> />
</div> </div>
</main> </main>

View File

@ -11,12 +11,7 @@ export const metadata = {
export default function DashboardPage() { export default function DashboardPage() {
return ( return (
<div className="container mx-auto p-6 mt-12"> <div className="container mx-auto px-4 pt-12 pb-4">
{/* Empty welcome section with reduced height */}
<div className='max-w-4xl mx-auto flex justify-between items-center mb-4'>
<div className='h-4'></div>
</div>
<div className='grid grid-cols-12 gap-4'> <div className='grid grid-cols-12 gap-4'>
<div className='col-span-3'> <div className='col-span-3'>
<QuoteCard /> <QuoteCard />