Skip to content

Commit

Permalink
Update UserInfo.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
tcaiger committed Nov 7, 2024
1 parent 6e5b013 commit d22c04c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/datatrak-web/src/layout/UserMenu/UserInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Typography } from '@material-ui/core';
import { RouterLink } from '@tupaia/ui-components';
import { Button, ChangeProjectButton } from '../../components';
import { useCurrentUserContext } from '../../api';
import { DESKTOP_MEDIA_QUERY, ROUTES } from '../../constants';
import { ROUTES } from '../../constants';

const Wrapper = styled.div`
padding-inline-start: 1rem;
Expand All @@ -20,15 +20,15 @@ const Wrapper = styled.div`

export const UserDetails = styled.div`
align-items: baseline;
display: none;
display: flex;
font-size: 1.2em;
gap: 0.5rem;
padding-inline: 0.5rem;
> span {
color: ${props => props.theme.palette.text.primary};
}
${DESKTOP_MEDIA_QUERY} {
display: flex;
${({ theme }) => theme.breakpoints.down('sm')} {
display: none;
}
`;

Expand Down

0 comments on commit d22c04c

Please sign in to comment.