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

@ -1958,14 +1958,16 @@ main.main-login .login > div > div:not(.hidden) form .button:hover, main.main-lo
line-height: 1.4;
padding: 0.2rem 0;
}
.fullpage.meetup > .meetup_list > .views-row > article > img {
.fullpage.meetup > .meetup_list > .views-row > article > a:not(.author, .offre-title) {
grid-column: 1;
grid-row: 1/7;
align-self: center;
justify-self: center;
}
.fullpage.meetup > .meetup_list > .views-row > article > a:not(.author, .offre-title) > img {
width: 10rem;
height: 10rem;
border-radius: 5rem;
align-self: center;
justify-self: center;
padding: 1rem;
margin-right: 1rem;
}
@ -2005,6 +2007,7 @@ main.main-login .login > div > div:not(.hidden) form .button:hover, main.main-lo
.fullpage.meetup > .meetup_list > .views-row > article > div.date-offre {
grid-column: 2;
grid-row: 6/7;
height: unset !important;
}
.fullpage.meetup > .meetup_list > .views-row > article > div.date-offre > a {
color: black;

File diff suppressed because one or more lines are too long

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';
}
}
}
}

View File

@ -106,16 +106,18 @@
@include main_text_content();
padding: 0.2rem 0;
}
> img {
> a:not(.author, .offre-title) {
grid-column: 1;
grid-row: 1/7;
width: 10rem;
height: 10rem;
border-radius: 5rem;
align-self: center;
justify-self: center;
padding: 1rem;
margin-right: 1rem;
> img {
width: 10rem;
height: 10rem;
border-radius: 5rem;
padding: 1rem;
margin-right: 1rem;
}
}
> p.occupation {
grid-column: 2;
@ -153,6 +155,7 @@
> div.date-offre {
grid-column: 2;
grid-row: 6/7;
height: unset !important;
> a {
color: black;
}