correction pb meetup
This commit is contained in:
parent
d27c68f389
commit
c444355f1b
|
@ -1958,14 +1958,16 @@ main.main-login .login > div > div:not(.hidden) form .button:hover, main.main-lo
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
padding: 0.2rem 0;
|
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-column: 1;
|
||||||
grid-row: 1/7;
|
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;
|
width: 10rem;
|
||||||
height: 10rem;
|
height: 10rem;
|
||||||
border-radius: 5rem;
|
border-radius: 5rem;
|
||||||
align-self: center;
|
|
||||||
justify-self: center;
|
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
margin-right: 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 {
|
.fullpage.meetup > .meetup_list > .views-row > article > div.date-offre {
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
grid-row: 6/7;
|
grid-row: 6/7;
|
||||||
|
height: unset !important;
|
||||||
}
|
}
|
||||||
.fullpage.meetup > .meetup_list > .views-row > article > div.date-offre > a {
|
.fullpage.meetup > .meetup_list > .views-row > article > div.date-offre > a {
|
||||||
color: black;
|
color: black;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -152,9 +152,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
let imgs = document.querySelectorAll('.fullpage img');
|
let imgs = document.querySelectorAll('.fullpage img');
|
||||||
for (let img of imgs) {
|
let meetup = document.querySelector('.meetup_list');
|
||||||
if (img.height > img.width) {
|
if (!meetup) {
|
||||||
img.parentElement.style.padding = '0 12vw';
|
for (let img of imgs) {
|
||||||
|
if (img.height > img.width) {
|
||||||
|
img.parentElement.style.padding = '0 12vw';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,16 +106,18 @@
|
||||||
@include main_text_content();
|
@include main_text_content();
|
||||||
padding: 0.2rem 0;
|
padding: 0.2rem 0;
|
||||||
}
|
}
|
||||||
> img {
|
> a:not(.author, .offre-title) {
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
grid-row: 1/7;
|
grid-row: 1/7;
|
||||||
width: 10rem;
|
|
||||||
height: 10rem;
|
|
||||||
border-radius: 5rem;
|
|
||||||
align-self: center;
|
align-self: center;
|
||||||
justify-self: center;
|
justify-self: center;
|
||||||
padding: 1rem;
|
> img {
|
||||||
margin-right: 1rem;
|
width: 10rem;
|
||||||
|
height: 10rem;
|
||||||
|
border-radius: 5rem;
|
||||||
|
padding: 1rem;
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
> p.occupation {
|
> p.occupation {
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
|
@ -153,6 +155,7 @@
|
||||||
> div.date-offre {
|
> div.date-offre {
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
grid-row: 6/7;
|
grid-row: 6/7;
|
||||||
|
height: unset !important;
|
||||||
> a {
|
> a {
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue