Fixed tracker pages

This commit is contained in:
MaxOvs19
2023-11-27 17:32:38 +03:00
parent 28a282c586
commit 5dc5b75f9e
6 changed files with 54 additions and 10 deletions

View File

@ -531,7 +531,13 @@ export const ProjectTracker = () => {
}
>
{Boolean(projectBoard.projectUsers?.length) && (
<div className="projectPersons">
<div
className={
projectBoard.projectUsers?.length == 1
? "onePerson"
: "projectPersons"
}
>
{projectBoard.projectUsers.slice(0, 3).map((person) => {
return (
<img

View File

@ -322,6 +322,7 @@
display: flex;
position: relative;
left: 5px;
img {
position: relative;
display: flex;
@ -341,6 +342,19 @@
}
}
.onePerson {
display: flex;
position: relative;
left: -15px;
img {
position: relative;
display: flex;
width: 32px;
height: 32px;
}
}
span {
width: 32px;
height: 32px;