1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

improvement(kubernetes): right align tags in datatables R8S-250 (#601)

Co-authored-by: testA113 <aliharriss1995@gmail.com>
This commit is contained in:
James Player 2025-04-03 14:18:31 +13:00 committed by GitHub
parent 3800249921
commit f6f07f4690
23 changed files with 68 additions and 55 deletions

View file

@ -19,9 +19,9 @@ function NameCell({
const className = getValue();
return (
<span className="flex flex-nowrap">
<span className="flex gap-2 flex-nowrap">
{className}
{row.original.New && <Badge className="ml-1">Newly detected</Badge>}
{row.original.New && <Badge className="ml-auto">Newly detected</Badge>}
</span>
);
}