Skip to content

Commit a171d6d

Browse files
committed
css
1 parent 9ecad33 commit a171d6d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,9 +1031,9 @@ body:has(.openapi-select-popover) {
10311031
@apply px-3 pb-3;
10321032
}
10331033
.openapi-required-scopes .openapi-securities-scopes {
1034-
@apply ml-6;
1034+
@apply ml-6 font-normal *:!text-[0.8125rem];
10351035
}
10361036

10371037
.openapi-required-scopes .openapi-required-scopes-description {
1038-
@apply text-xs text-tint-subtle font-normal mb-2;
1038+
@apply text-xs !text-tint font-normal mb-2;
10391039
}

packages/react-openapi/src/OpenAPICopyButton.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use client';
22

3+
import clsx from 'classnames';
34
import { useState } from 'react';
45
import { Button, type ButtonProps } from 'react-aria-components';
56
import { OpenAPITooltip } from './OpenAPITooltip';
@@ -45,7 +46,7 @@ export function OpenAPICopyButton(
4546
handleCopy();
4647
onPress?.(e);
4748
}}
48-
className={`openapi-copy-button ${className}`}
49+
className={clsx('openapi-copy-button', className)}
4950
{...props}
5051
>
5152
{children}

packages/react-openapi/src/OpenAPIRequiredScopes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function OpenAPIScopeItem(props: {
9898
return (
9999
<li>
100100
<OpenAPIScopeItemKey name={scope[0]} context={context} />
101-
{scope[1] ? `: ${scope[1]}` : null}
101+
{scope[1] ? <span>: {scope[1]}</span> : null}
102102
</li>
103103
);
104104
}

0 commit comments

Comments
 (0)