File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
gitbook/src/components/DocumentView/OpenAPI Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff 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.8125 rem ] ;
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}
Original file line number Diff line number Diff line change 11'use client' ;
22
3+ import clsx from 'classnames' ;
34import { useState } from 'react' ;
45import { Button , type ButtonProps } from 'react-aria-components' ;
56import { 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 }
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments