personal area partner with fixes report

This commit is contained in:
2023-02-21 19:05:04 +03:00
parent 740659e1f1
commit e26b8cc22e
22 changed files with 873 additions and 122 deletions

View File

@ -96,6 +96,12 @@
transform: scale(1.02);
}
@media (max-width: 950px) {
width: 200px;
font-size: 15px;
height: 50px;
}
@media (max-width: 800px) {
width: auto;
height: auto;

View File

@ -29,11 +29,18 @@
&-box {
display: flex;
align-items: center;
margin-left: 40px;
margin-left: 20px;
cursor: pointer;
img {
width: 6px;
height: 6px;
margin: 0px 10px;
width: 12px;
height: 12px;
&:first-child {
transform: rotate(180deg);
margin: 0;
}
}
span {

View File

@ -53,7 +53,8 @@ export function currentMonthAndDay(day) {
}
export function getCorrectDate(day) {
return `${new Date(day).getDate()}-${new Date(day).getMonth() + 1}-${new Date(day).getFullYear()}`
const months = ['января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', 'октября', 'ноября', 'декабря']
return `${new Date(day).getDate()} ${months[new Date(day).getMonth()]} ${new Date(day).getFullYear()} года`
};
export function currentMonthAndDayReportPage() {