Skip to content

Commit efe0d8c

Browse files
authored
fix: modal height CSS bug (#1835)
1 parent e24025f commit efe0d8c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/standalone/topbar/topbar.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ export default class Topbar extends React.Component {
384384
</DropdownMenu> : null }
385385
</div>
386386
</div>
387-
<Modal className="swagger-ui modal" ref="modal">
387+
<Modal className="modal" ref="modal">
388388
<div className="container">
389389
<h2>Upload file</h2>
390390
<input type="file" ref="fileLoadInput"></input>
@@ -394,7 +394,7 @@ export default class Topbar extends React.Component {
394394
<button className="btn" onClick={this.importFromFile}>Open file</button>
395395
</div>
396396
</Modal>
397-
<Modal className="swagger-ui modal" ref="generatorModal">
397+
<Modal className="modal" ref="generatorModal">
398398
<div className="modal-message">
399399
<p>
400400
Code generation for OAS3 is currently work in progress. The available languages is smaller than the for OAS/Swagger 2.0 and is constantly being updated.

src/standalone/topbar/topbar.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@
8484
}
8585

8686
.modal {
87+
font-family: sans-serif;
88+
color: #3b4151;
8789
padding: 1em;
8890
position: relative;
8991
min-height: 12em;

0 commit comments

Comments
 (0)