fix: Правки линтера, правки документации

This commit is contained in:
Ilia Mashkov
2025-11-23 16:18:23 +03:00
parent 174547791b
commit dad6253877
3 changed files with 23 additions and 20 deletions

View File

@@ -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;
} }

View File

@@ -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,