fix: Правки линтера, правки документации
This commit is contained in:
@@ -66,6 +66,7 @@
|
|||||||
|
|
||||||
@container timeframe-slider (width <= 768px) {
|
@container timeframe-slider (width <= 768px) {
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
|
|
||||||
font-size: 34px;
|
font-size: 34px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -129,6 +130,7 @@
|
|||||||
|
|
||||||
@container timeframe-slider (width <= 768px) {
|
@container timeframe-slider (width <= 768px) {
|
||||||
left: 40px;
|
left: 40px;
|
||||||
|
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ export const TimeFrameSlider = memo(() => {
|
|||||||
prevYearFromRef.current = currentPeriod.yearFrom
|
prevYearFromRef.current = currentPeriod.yearFrom
|
||||||
prevYearToRef.current = currentPeriod.yearTo
|
prevYearToRef.current = currentPeriod.yearTo
|
||||||
|
|
||||||
|
// Анимация появления лейбла периода
|
||||||
if (periodLabelRef.current) {
|
if (periodLabelRef.current) {
|
||||||
gsap.fromTo(
|
gsap.fromTo(
|
||||||
periodLabelRef.current,
|
periodLabelRef.current,
|
||||||
|
|||||||
Reference in New Issue
Block a user