Skip to content

Commit c3afffb

Browse files
committed
Remove deprecated schema styling
1 parent 49eb0f2 commit c3afffb

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

packages/gitbook/src/components/DocumentView/OpenAPI/style.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,6 @@
142142
@apply py-2.5 flex flex-col gap-2;
143143
}
144144

145-
.openapi-schema[data-deprecated="true"] {
146-
@apply bg-gray-100;
147-
}
148-
149145
.openapi-section-body .openapi-schema-properties {
150146
@apply divide-y divide-tint-subtle;
151147
}

packages/react-openapi/src/OpenAPISchema.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@ function OpenAPISchemaProperty(props: {
3737
const id = useId();
3838

3939
return (
40-
<div
41-
id={id}
42-
data-deprecated={schema.deprecated}
43-
className={clsx('openapi-schema', className)}
44-
>
40+
<div id={id} className={clsx('openapi-schema', className)}>
4541
<OpenAPISchemaPresentation property={property} />
4642
{(() => {
4743
const circularRefId = parentCircularRefs.get(schema);

0 commit comments

Comments
 (0)