Skip to content

Commit

Permalink
fix ui overflow bug (#1808)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmtabbara authored Nov 28, 2022
1 parent c605a9d commit 6625766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
4 changes: 1 addition & 3 deletions nym-connect/src/components/AppWindowFrame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ import { CustomTitleBar } from './CustomTitleBar';
export const AppWindowFrame: React.FC = ({ children }) => (
<Box
sx={{
background: (t) => t.palette.background.default,
borderRadius: '12px',
padding: '12px 16px',
display: 'grid',
borderRadius: '12px',
gridTemplateRows: '40px 1fr',
bgcolor: 'nym.background.dark',
height: '100vh',
Expand Down
13 changes: 1 addition & 12 deletions nym-connect/src/components/ServiceProviderSelector.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useEffect, useMemo } from 'react';
import { Box, CircularProgress, Input, Stack, TextField, Tooltip, Typography, MenuItem, ListItemIcon } from '@mui/material';
import Check from '@mui/icons-material/Check';
import { Box, CircularProgress, Stack, TextField, Tooltip, Typography, MenuItem, ListItemIcon } from '@mui/material';
import { ServiceProvider, Service, Services } from '../types/directory';

type ServiceWithRandomSp = {
Expand Down Expand Up @@ -128,16 +127,6 @@ export const ServiceProviderSelector: React.FC<{
>
<Typography>{description}</Typography>
</Tooltip>
{id === service?.id && (
<ListItemIcon
sx={{
position: 'absolute',
right: '0',
}}
>
<Check sx={{ padding: 0 }} />
</ListItemIcon>
)}
</MenuItem>
))}
</TextField>
Expand Down

0 comments on commit 6625766

Please sign in to comment.