forked from PolarisPyra/daphnis
fixed misaligned text
This commit is contained in:
parent
e557e55972
commit
51e6763124
@ -4,7 +4,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
|
||||
const ChunithmPage = () => {
|
||||
return (
|
||||
<div className="p-10">
|
||||
<Tabs defaultValue="account">
|
||||
<Tabs defaultValue="scores">
|
||||
<TabsList>
|
||||
<TabsTrigger value="scores">Scores</TabsTrigger>
|
||||
<TabsTrigger value="customize">Customize</TabsTrigger>
|
||||
|
@ -33,7 +33,7 @@ export const columns: ColumnDef<chunithm>[] = [
|
||||
const jacketPath = row.original.jacketPath?.replace(".dds", ".png");
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
return (
|
||||
<div className="font-medium w-[300px] truncate">
|
||||
<div className="font-medium w-[300px] truncate flex items-center">
|
||||
{isLoading || !jacketPath ? (
|
||||
<Skeleton className="w-8 h-8 inline-block mr-2" />
|
||||
) : (
|
||||
@ -44,7 +44,7 @@ export const columns: ColumnDef<chunithm>[] = [
|
||||
className="w-8 h-8 inline-block mr-2"
|
||||
/>
|
||||
)}
|
||||
<div className="flex-1">{row.original.title}</div>
|
||||
<span className="truncate">{row.original.title}</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user