iframe fixed for mail drive diairy

This commit is contained in:
Alma 2025-04-09 12:20:16 +02:00
parent 290c23c4d2
commit c7ec25ed11
3 changed files with 16 additions and 10 deletions

View File

@ -11,16 +11,18 @@ export default async function Page() {
return (
<main className="w-full h-screen bg-black">
<div className="w-full h-full pt-16">
<div className="w-full h-full px-4 pt-12 pb-4">
<iframe
src="https://espace.slm-lab.net/apps/diary"
src="https://espace.slm-lab.net/apps/calendar"
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',
width: 'calc(100% + 250px)'
marginLeft: '-180px',
width: 'calc(100% + 500px)',
position: 'relative',
right: '-160px'
}}
allowFullScreen
/>

View File

@ -11,7 +11,7 @@ export default async function Page() {
return (
<main className="w-full h-screen bg-black">
<div className="w-full h-full pt-16">
<div className="w-full h-full px-4 pt-12 pb-4">
<iframe
src="https://espace.slm-lab.net/apps/files"
className="w-full h-full border-none"
@ -19,8 +19,10 @@ export default async function Page() {
sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
style={{
marginTop: '-64px',
marginLeft: '-250px',
width: 'calc(100% + 250px)'
marginLeft: '-180px',
width: 'calc(100% + 500px)',
position: 'relative',
right: '-160px'
}}
allowFullScreen
/>

View File

@ -11,7 +11,7 @@ export default async function Page() {
return (
<main className="w-full h-screen bg-black">
<div className="w-full h-full pt-16">
<div className="w-full h-full px-4 pt-12 pb-4">
<iframe
src="https://espace.slm-lab.net/apps/mail"
className="w-full h-full border-none"
@ -19,8 +19,10 @@ export default async function Page() {
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
marginLeft: '-180px',
width: 'calc(100% + 500px)',
position: 'relative',
right: '-160px'
}}
allowFullScreen
/>