correction pb meetup

This commit is contained in:
Valentin
2024-04-09 10:54:31 +02:00
parent d27c68f389
commit c444355f1b
4 changed files with 22 additions and 13 deletions

View File

@@ -152,9 +152,12 @@
}
let imgs = document.querySelectorAll('.fullpage img');
for (let img of imgs) {
if (img.height > img.width) {
img.parentElement.style.padding = '0 12vw';
let meetup = document.querySelector('.meetup_list');
if (!meetup) {
for (let img of imgs) {
if (img.height > img.width) {
img.parentElement.style.padding = '0 12vw';
}
}
}
}