fix: Improve layout of project status indicators for better alignment and visibility
This commit is contained in:
@@ -545,7 +545,8 @@ export default function ProjectListPage() {
|
|||||||
? "P+B"
|
? "P+B"
|
||||||
: "-"}
|
: "-"}
|
||||||
</td>
|
</td>
|
||||||
<td className="px-2 py-3 text-xs text-gray-600 flex justify-center items-center">
|
<td className="px-2 py-3 text-xs text-gray-600">
|
||||||
|
<div className="flex justify-center items-center h-full">
|
||||||
{project.project_status === 'registered' ? (
|
{project.project_status === 'registered' ? (
|
||||||
<span className="text-red-500 font-bold text-sm" title={t('projectStatus.registered')}>N</span>
|
<span className="text-red-500 font-bold text-sm" title={t('projectStatus.registered')}>N</span>
|
||||||
) : project.project_status === 'in_progress_design' ? (
|
) : project.project_status === 'in_progress_design' ? (
|
||||||
@@ -559,6 +560,7 @@ export default function ProjectListPage() {
|
|||||||
) : (
|
) : (
|
||||||
<span title="Unknown status">-</span>
|
<span title="Unknown status">-</span>
|
||||||
)}
|
)}
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td className="px-2 py-3">
|
<td className="px-2 py-3">
|
||||||
<Link href={`/projects/${project.project_id}`}>
|
<Link href={`/projects/${project.project_id}`}>
|
||||||
|
|||||||
Reference in New Issue
Block a user