Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkav committed Oct 2, 2024
1 parent de08151 commit 7fbc702
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/insomnia/src/ui/routes/design.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,14 @@ const SwaggerUIDiv = ({ text }: { text: string }) => {
setSpec(parseApiSpec(text).contents || {});
} catch (err) { }
}, [text]);
return (<kong-spec-renderer spec={JSON.stringify(spec)} control-address-bar="true" hide-try-it="false" navigation-type="hash" />);
return (<div className="h-full w-full overflow-scroll bg-white">
<kong-spec-renderer
spec={JSON.stringify(spec)}
control-address-bar="true"
hide-try-it="false"
navigation-type="hash"
/>
</div>);
};

interface LintMessage {
Expand Down

0 comments on commit 7fbc702

Please sign in to comment.