fix bug ouverture actu home

This commit is contained in:
2025-11-28 11:30:47 +01:00
parent 66fe1c4adf
commit 863f248656
3 changed files with 10 additions and 6 deletions

View File

@@ -1724,6 +1724,9 @@ footer {
top: -1.5rem; top: -1.5rem;
} }
} }
#actus-caroussel .content-actus {
width: 100%;
}
#actus-caroussel .content-actus .slick-list { #actus-caroussel .content-actus .slick-list {
padding-bottom: 1rem; padding-bottom: 1rem;
} }
@@ -1734,7 +1737,7 @@ footer {
} }
#actus-caroussel .content-actus .view-rows-wrapper { #actus-caroussel .content-actus .view-rows-wrapper {
margin-left: 25%; margin-left: 25%;
width: 65%; width: 55%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex-wrap: wrap; flex-wrap: wrap;
@@ -2335,13 +2338,13 @@ body {
display: none; display: none;
} }
#home article.node-type-static .field_body { #home article.node-type-static .field_body {
width: 65%; width: 60%;
margin: auto; margin: auto;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
position: relative; position: relative;
margin-left: 14rem; margin-left: 15rem;
} }
@media (max-width: 1090px) { @media (max-width: 1090px) {
#home article.node-type-static .field_body { #home article.node-type-static .field_body {

View File

@@ -64,13 +64,13 @@
} }
.field_body{ ///// texte de présentation .field_body{ ///// texte de présentation
// width: 80%; // width: 80%;
width: 65%; width: 60%;
margin: auto; margin: auto;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap ; flex-wrap: wrap ;
position: relative; position: relative;
margin-left: 14rem; margin-left: 15rem;
@media(max-width: 1090px){ @media(max-width: 1090px){
flex-direction: column; flex-direction: column;
width: 90%; width: 90%;

View File

@@ -22,6 +22,7 @@
} }
} }
.content-actus{ .content-actus{
width: 100%;
.slick-list{ .slick-list{
padding-bottom: 1rem; padding-bottom: 1rem;
@media(max-width: 810px){ @media(max-width: 810px){
@@ -31,7 +32,7 @@
.view-rows-wrapper{ .view-rows-wrapper{
margin-left: 25%; margin-left: 25%;
width: 65%; width: 55%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex-wrap: wrap; flex-wrap: wrap;