chore(website): move around static label

This commit is contained in:
iCrawl
2023-04-14 10:33:20 +02:00
parent e4c5f794b0
commit d35f670d7a

View File

@@ -38,6 +38,11 @@ export function Property({
Deprecated Deprecated
</div> </div>
) : null} ) : null}
{(item as ApiProperty).isStatic ? (
<div className="h-5 flex flex-row place-content-center place-items-center rounded-full bg-blurple px-3 text-center text-xs font-semibold uppercase text-white">
Static
</div>
) : null}
{item.isReadonly ? ( {item.isReadonly ? (
<div className="h-5 flex flex-row place-content-center place-items-center rounded-full bg-blurple px-3 text-center text-xs font-semibold uppercase text-white"> <div className="h-5 flex flex-row place-content-center place-items-center rounded-full bg-blurple px-3 text-center text-xs font-semibold uppercase text-white">
Readonly Readonly
@@ -48,11 +53,6 @@ export function Property({
Optional Optional
</div> </div>
) : null} ) : null}
{(item as ApiProperty).isStatic ? (
<div className="h-5 flex flex-row place-content-center place-items-center rounded-full bg-blurple px-3 text-center text-xs font-semibold uppercase text-white">
Static
</div>
) : null}
</div> </div>
) : null} ) : null}
<div className="flex flex-row flex-wrap place-items-center gap-1"> <div className="flex flex-row flex-wrap place-items-center gap-1">