Фикс партнеров

This commit is contained in:
ifraimka committed 2025-03-05 23:56:17 +03:00
1 parent f72be17bfb
commit 2b793fd322
3 files changed
+9 -4

No files matched your search

@@ -58,7 +58,6 @@ function Partners({ partners = mock }) {
speed={1}
margin={32}
loop={true} // Включаем бесконечный цикл
style={{ width: '100%' }}
>
{ mediaList.map((item, index) => <PartnersLogo key={ index } partner={ item } />) }
</ScrollCarousel>
@@ -1,11 +1,15 @@
$block-height: 200px;
#react-page .content #partners {
margin-left: 0;
margin-right: 0;
margin-bottom: $block-height !important;
.scroll-carousel-viewport {
width: calc(100% + 25%);
margin-left: -12.5%;
height: 200px;
position: absolute;
left: 0;
width: 100vw;
height: $block-height;
overflow: hidden;
@media (max-width: 768px) {
+2
View File
@@ -62,6 +62,8 @@
.content {
background: $bg-primary;
display: flex;
flex-direction: column;
}
}