refactor: update display of categories and tags with improved text size
This commit is contained in:
parent
0b3217407c
commit
550b16cfd3
@ -62,9 +62,12 @@ export const ContentsPage = () => {
|
|||||||
<div className="text-sm text-[#7C7C7C]">ID: {data.id.slice(0, 8)}</div>
|
<div className="text-sm text-[#7C7C7C]">ID: {data.id.slice(0, 8)}</div>
|
||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
4: (value: TCategoryResponse[]) =>
|
4: (value: TCategoryResponse[]) => (
|
||||||
value.map((item) => item.name).join(', '),
|
<div className="text-xs">{value.map((item) => item.name).join(', ')}</div>
|
||||||
5: (value: TTagResponse[]) => value.map((item) => item.name).join(', '),
|
),
|
||||||
|
5: (value: TTagResponse[]) => (
|
||||||
|
<div className="text-xs">{value.map((item) => item.name).join(', ')}</div>
|
||||||
|
),
|
||||||
6: (value: string) =>
|
6: (value: string) =>
|
||||||
value ? (
|
value ? (
|
||||||
<div className="rounded-full bg-[#FFFCAF] px-2 text-center text-[#DBCA6E]">
|
<div className="rounded-full bg-[#FFFCAF] px-2 text-center text-[#DBCA6E]">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user