learn iframe fixed for nextcloud mail

This commit is contained in:
Alma 2025-04-09 11:50:04 +02:00
parent cf7fd2448f
commit 1477dab2c3

View File

@ -16,6 +16,12 @@ export default async function Page() {
src="https://espace.slm-lab.net/apps/mail"
className="w-full h-full border-none"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
style={{
marginTop: '-64px',
marginLeft: '-250px', // Adjust this value based on the sidebar width
width: 'calc(100% + 250px)' // Compensate for the negative margin
}}
allowFullScreen
/>
</div>