mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:59:45 +00:00
скрорлл колёсиком только при наведении на слайд
This commit is contained in:
1 parent
5c6ef83ac6
commit
af5ffa0ba0
2 files changed
+5
-3
No files matched your search
@@ -51,7 +51,7 @@
|
||||
line-height: 36px;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
font-size: 24px;
|
||||
font-size: 20px;
|
||||
line-height: 28px;
|
||||
}
|
||||
}
|
||||
@@ -546,4 +546,5 @@
|
||||
width: 72px;
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -230,7 +230,7 @@ function LabBoard() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id={styles.padding2} className={styles.sliderWrapper} ref={sliderRef}>
|
||||
<div id={styles.padding2} className={styles.sliderWrapper}>
|
||||
<button onClick={prevSlide} className={styles.sliderButton2}>
|
||||
<img src={Vector} style={{ transform: 'scaleX(-1)' }} alt="Previous" />
|
||||
</button>
|
||||
@@ -243,6 +243,7 @@ function LabBoard() {
|
||||
preventScrollOnSwipe: true,
|
||||
trackMouse: true,
|
||||
})}
|
||||
ref={sliderRef}
|
||||
>
|
||||
<div className={`${styles.slideActive} ${fade ? styles.fadeOut : ''}`}>
|
||||
<img
|
||||
|
||||
Reference in new issue
Block a user