fix news list home page only responsive

This commit is contained in:
Yves Gatesoupe 2020-07-17 15:01:32 +02:00
parent 569698a221
commit 3f84011ea7

View File

@ -87,17 +87,6 @@
overflow: hidden;
}
.wrapper {
max-width: 100%;
margin: 0;
padding: 0;
display: block;
}
&__heading {
margin-left: 1.25rem;
}
&__items {
display: flex;
overflow-y: auto;
@ -109,18 +98,33 @@
flex-shrink: 0;
flex-basis: 16rem;
}
.return-link {
margin-right: 1.25rem;
}
}
.home .news-list {
margin: 6rem 0;
.wrapper {
max-width: 100%;
margin: 0;
padding: 0;
display: block;
}
&__inner {
position: static;
margin-top: -9rem;
}
&__heading {
margin-left: 1.25rem;
}
&__items {
padding-left: 1.25rem;
}
.return-link {
margin-right: 1.25rem;
}
}
}