Compare commits
No commits in common. "eab772ad99ad3bebaba0e21a2161822c6a23177e" and "6b80930a864c9278afff880f8c6664bc5904f50b" have entirely different histories.
eab772ad99
...
6b80930a86
@ -97,7 +97,7 @@ const History_Drawer: React.FC<History_Drawer_Props> = ({ user_id }) => {
|
|||||||
{history.map((entry, index) => (
|
{history.map((entry, index) => (
|
||||||
<TableRow key={index}>
|
<TableRow key={index}>
|
||||||
<TableCell className="font-medium lg:max-w-[100px]">{entry.name}</TableCell>
|
<TableCell className="font-medium lg:max-w-[100px]">{entry.name}</TableCell>
|
||||||
<TableCell className="font-medium lg:max-w-[100px] wrapword">{entry.status}</TableCell>
|
<TableCell className="font-medium lg:max-w-[100px]">{entry.status}</TableCell>
|
||||||
<TableCell className="font-medium lg:max-w-[100px] justify-end items-end text-right">{new Date(entry.updatedAt).toLocaleString()}</TableCell>
|
<TableCell className="font-medium lg:max-w-[100px] justify-end items-end text-right">{new Date(entry.updatedAt).toLocaleString()}</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
))}
|
))}
|
||||||
|
@ -204,8 +204,7 @@ export default function Tech_Table({ employees }: { employees: Employee[] }) {
|
|||||||
<td className="n-column px-1 md:py-3 border border-[#3e4446]">
|
<td className="n-column px-1 md:py-3 border border-[#3e4446]">
|
||||||
{employee.name}
|
{employee.name}
|
||||||
</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]">
|
||||||
border-[#3e4446] wrapword">
|
|
||||||
<Drawer>
|
<Drawer>
|
||||||
<DrawerTrigger>
|
<DrawerTrigger>
|
||||||
<button onClick={() => handleStatusClick(employee.id)}>
|
<button onClick={() => handleStatusClick(employee.id)}>
|
||||||
|
@ -134,14 +134,3 @@
|
|||||||
.tablefill {
|
.tablefill {
|
||||||
height: 10vh;
|
height: 10vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrapword {
|
|
||||||
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
|
||||||
white-space: -webkit-pre-wrap; /* Chrome & Safari */
|
|
||||||
white-space: -pre-wrap; /* Opera 4-6 */
|
|
||||||
white-space: -o-pre-wrap; /* Opera 7 */
|
|
||||||
white-space: pre-wrap; /* CSS3 */
|
|
||||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
|
||||||
word-break: break-all;
|
|
||||||
white-space: normal;
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user