Skip to content

Commit

Permalink
Update height style
Browse files Browse the repository at this point in the history
  • Loading branch information
congmul committed Aug 11, 2024
1 parent 16f2ac1 commit a681e01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ function App() {
size={'50%'}
>
<Editor content={content} setContent={setContent} currentTheme={currentTheme}/>
<div className={`p-2 vh-100`}
style={{overflowY: "auto"}}>
<div className={`p-2`}
style={{overflowY: "auto", height: "calc(100vh - 110px"}}>
<SwaggerUI spec={content} />
</div>
</ReactSplitPane>
Expand Down

0 comments on commit a681e01

Please sign in to comment.