Skip to content

Commit

Permalink
Merge pull request #2631 from andrewbaldwin44/bugfix/2628
Browse files Browse the repository at this point in the history
[Modern UI] Modal Can Extend Beyond Screen Limits
  • Loading branch information
cyberw committed Mar 13, 2024
2 parents 50bf37e + eb99844 commit f4d0300
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion locust/webui/dist/auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="theme-color" content="#000000" />

<title>Locust</title>
<script type="module" crossorigin src="./assets/index-07a92637.js"></script>
<script type="module" crossorigin src="./assets/index-fd3e763b.js"></script>
</head>
<body>
<div id="root"></div>
Expand Down
2 changes: 1 addition & 1 deletion locust/webui/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="theme-color" content="#000000" />

<title>Locust</title>
<script type="module" crossorigin src="./assets/index-07a92637.js"></script>
<script type="module" crossorigin src="./assets/index-fd3e763b.js"></script>
</head>
<body>
<div id="root"></div>
Expand Down
2 changes: 2 additions & 0 deletions locust/webui/src/components/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ export default function Modal({ open, onClose, children }: IModal) {
left: '50%',
transform: 'translate(-50%, -50%)',
width: 'md',
maxHeight: '90vh',
overflowY: 'auto',
display: 'flex',
flexDirection: 'column',
rowGap: 2,
Expand Down

0 comments on commit f4d0300

Please sign in to comment.