File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
packages/website/src/components Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -41,17 +41,17 @@ export function CodeListing({
41
41
{ deprecation || readonly || optional ? (
42
42
< div className = "flex flex-row gap-1" >
43
43
{ deprecation ? (
44
- < div className = "h-5 place-content-center rounded-full bg-red-500 px-3 text-center text-xs font-semibold uppercase text-white" >
44
+ < div className = "flex h-5 place-content-center place-items -center rounded-full bg-red-500 px-3 text-center text-xs font-semibold uppercase text-white" >
45
45
Deprecated
46
46
</ div >
47
47
) : null }
48
48
{ readonly ? (
49
- < div className = "bg-blurple h-5 place-content-center rounded-full px-3 text-center text-xs font-semibold uppercase text-white" >
49
+ < div className = "bg-blurple flex h-5 place-content-center place-items -center rounded-full px-3 text-center text-xs font-semibold uppercase text-white" >
50
50
Readonly
51
51
</ div >
52
52
) : null }
53
53
{ optional ? (
54
- < div className = "bg-blurple h-5 place-content-center rounded-full px-3 text-center text-xs font-semibold uppercase text-white" >
54
+ < div className = "bg-blurple flex h-5 place-content-center place-items -center rounded-full px-3 text-center text-xs font-semibold uppercase text-white" >
55
55
Optional
56
56
</ div >
57
57
) : null }
Original file line number Diff line number Diff line change @@ -37,17 +37,17 @@ export function MethodItem({ data }: { data: ApiMethodJSON | ApiMethodSignatureJ
37
37
( data . kind === 'Method' && method . static ) ? (
38
38
< div className = "flex flex-row gap-1" >
39
39
{ data . deprecated ? (
40
- < div className = "h-5 place-content-center rounded-full bg-red-500 px-3 text-center text-xs font-semibold uppercase text-white" >
40
+ < div className = "flex h-5 place-content-center place-items -center rounded-full bg-red-500 px-3 text-center text-xs font-semibold uppercase text-white" >
41
41
Deprecated
42
42
</ div >
43
43
) : null }
44
44
{ data . kind === 'Method' && method . protected ? (
45
- < div className = "bg-blurple h-5 place-content-center rounded-full px-3 text-center text-xs font-semibold uppercase text-white" >
45
+ < div className = "bg-blurple flex h-5 place-content-center place-items -center rounded-full px-3 text-center text-xs font-semibold uppercase text-white" >
46
46
Protected
47
47
</ div >
48
48
) : null }
49
49
{ data . kind === 'Method' && method . static ? (
50
- < div className = "bg-blurple h-5 place-content-center rounded-full px-3 text-center text-xs font-semibold uppercase text-white" >
50
+ < div className = "bg-blurple flex h-5 place-content-center place-items -center rounded-full px-3 text-center text-xs font-semibold uppercase text-white" >
51
51
Static
52
52
</ div >
53
53
) : null }
Original file line number Diff line number Diff line change @@ -66,12 +66,12 @@ export function ConstructorSection({ data }: { data: ApiConstructorJSON }) {
66
66
{ data . deprecated || data . protected ? (
67
67
< div className = "flex flex-row gap-1" >
68
68
{ data . deprecated ? (
69
- < div className = "h-5 place-content-center rounded-full bg-red-500 px-3 text-center text-xs font-semibold uppercase text-white" >
69
+ < div className = "flex h-5 place-content-center place-items -center rounded-full bg-red-500 px-3 text-center text-xs font-semibold uppercase text-white" >
70
70
Deprecated
71
71
</ div >
72
72
) : null }
73
73
{ data . protected ? (
74
- < div className = "bg-blurple h-5 place-content-center rounded-full px-3 text-center text-xs font-semibold uppercase text-white" >
74
+ < div className = "bg-blurple flex h-5 place-content-center place-items -center rounded-full px-3 text-center text-xs font-semibold uppercase text-white" >
75
75
Protected
76
76
</ div >
77
77
) : null }
You can’t perform that action at this time.
0 commit comments