Fix long statuses. Not perfect but good for now
This commit is contained in:
parent
aab4efbb00
commit
787fcb0031
@ -213,18 +213,18 @@ export default function Tech_Table({ employees }: { employees: Employee[] }) {
|
|||||||
</td>
|
</td>
|
||||||
<td className="s-column max-w-[700px] px-1 md:py-3 border
|
<td className="s-column max-w-[700px] px-1 md:py-3 border
|
||||||
border-[#3e4446] wrapword max-h-0">
|
border-[#3e4446] wrapword max-h-0">
|
||||||
|
<ScrollArea className="w-full m-auto h-[60px]">
|
||||||
<Drawer>
|
<Drawer>
|
||||||
<DrawerTrigger>
|
<DrawerTrigger>
|
||||||
<button onClick={() => handleStatusClick(employee.id)}>
|
<button onClick={() => handleStatusClick(employee.id)}>
|
||||||
<ScrollArea className="w-full m-auto h-[60px]">
|
|
||||||
{employee.status}
|
{employee.status}
|
||||||
</ScrollArea>
|
|
||||||
</button>
|
</button>
|
||||||
</DrawerTrigger>
|
</DrawerTrigger>
|
||||||
{selectedUserId !== -1 && (
|
{selectedUserId !== -1 && (
|
||||||
<History_Drawer key={selectedUserId} user_id={selectedUserId} />
|
<History_Drawer key={selectedUserId} user_id={selectedUserId} />
|
||||||
)}
|
)}
|
||||||
</Drawer>
|
</Drawer>
|
||||||
|
</ScrollArea>
|
||||||
</td>
|
</td>
|
||||||
<td className="ua-column px-1 md:py-3 border border-[#3e4446]">
|
<td className="ua-column px-1 md:py-3 border border-[#3e4446]">
|
||||||
{formatTime(employee.updatedAt)}
|
{formatTime(employee.updatedAt)}
|
||||||
|
Loading…
Reference in New Issue
Block a user