mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:49:45 +00:00
Фикс партнеров
This commit is contained in:
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) {
|
||||
|
||||
@@ -62,6 +62,8 @@
|
||||
|
||||
.content {
|
||||
background: $bg-primary;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user