rework footer layout

This commit is contained in:
Victor Batischev
2024-02-14 16:09:09 +03:00
parent 97813c875c
commit ef6d8f4331
16 changed files with 16 additions and 152 deletions

View File

@ -136,10 +136,6 @@
line-height: normal;
}
}
footer {
margin-top: 2rem !important;
}
}
@media (max-width: 575.98px) {

View File

@ -148,12 +148,6 @@
}
}
}
footer {
margin-top: 2.5rem !important;
position: relative;
z-index: -2;
}
}
@media (max-width: 375.98px) {

View File

@ -286,15 +286,15 @@ export const ProfileCalendarComponent = React.memo(
? `${getCorrectDate(startDate)} - ${getCorrectDate(endDate)}`
: `${getCorrectDate(endDate)} - ${getCorrectDate(startDate)}`
: activePeriod
? "Выберите диапазон на календаре"
: "Выбрать диапазон"}
? "Выберите диапазон на календаре"
: "Выбрать диапазон"}
</span>
<span>
{totalRangeHours
? `${totalRangeHours} ${hourOfNum(totalRangeHours)}`
: endDate
? "0 часов"
: ""}
? "0 часов"
: ""}
</span>
{endDate && (
<BaseButton