A bunch of responsiveness fixes

This commit is contained in:
Gregory Schier
2025-07-09 14:24:29 -07:00
parent d9f9ea4047
commit f00adf6fce
6 changed files with 104 additions and 48 deletions

View File

@@ -43,10 +43,15 @@ export function HttpRequestLayout({ activeRequest, style }: Props) {
return (
<SplitLayout
name="graphql_layout"
defaultRatio={0.25}
defaultRatio={1/3}
firstSlot={requestResponseSplit}
secondSlot={({ style, orientation }) => (
<GraphQLDocsExplorer key={activeRequest.id} schema={graphQLSchema} className={classNames(orientation == 'horizontal' && '!ml-0')} style={style} />
<GraphQLDocsExplorer
key={activeRequest.id}
schema={graphQLSchema}
className={classNames(orientation == 'horizontal' && '!ml-0')}
style={style}
/>
)}
/>
);