Skip to content

Commit

Permalink
shrinking modal
Browse files Browse the repository at this point in the history
  • Loading branch information
lerouxb committed May 23, 2024
1 parent e4d59a9 commit 3c862b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ const contentStyles = css({
marginTop: spacing[3],
});

const radioBoxGroupStyles = css({
paddingBottom: spacing[2], // don't cut off the focus ring in the modal
});

const getSelectedTunnelType = (
connectionStringUrl: ConnectionStringUrl,
connectionOptions?: ConnectionOptions
Expand Down Expand Up @@ -171,7 +175,7 @@ function ProxyAndSshTunnelTab({
id="ssh-options-radio-box-group"
onChange={optionSelected}
size="compact"
className="radio-box-group-style"
className={radioBoxGroupStyles}
>
{options.map(({ title, id, type }) => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const formContainerStyles = css({
const formContentStyles = css({
display: 'flex',
columnGap: spacing[3],
maxHeight: '720px',
maxHeight: `calc(min(720px, 100vh - 300px))`,
overflow: 'auto',
scrollbarGutter: 'stable',
});
Expand Down

0 comments on commit 3c862b9

Please sign in to comment.