fix(iframe): suppression des barres de défilement des iframes

fixes #2972
pull/2983/head^2
Hicham Benjelloun 2024-06-20 08:58:27 +02:00 committed by Jalil Arfaoui
parent 4f01c80be0
commit 9c0ae67bc9
1 changed files with 4 additions and 0 deletions

View File

@ -159,6 +159,10 @@
<script>
const isIframe = document.location.pathname.startsWith('/iframes/')
if (isIframe) {
document.documentElement.style.overflow = 'hidden'
}
function getItem(key) {
try {
return window.localStorage.getItem(key)