Skip to content

Commit

Permalink
add media query for scroll (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddsaura committed May 23, 2022
1 parent e14fe3e commit 0a5ae0b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/src/ui/Modal.ts
Expand Up @@ -9,7 +9,7 @@

import styled from 'styled-components';

import { space, rems, hexToRgb } from '@/ui/helpers';
import { space, rems, hexToRgb, media } from '@/ui/helpers';
import { BORDER_RADIUS, COLOR_NEUTRO_100, COLOR_NEUTRO_700, COLOR_NEUTRO_900 } from '@/ui/settings';

const N900_RGB = hexToRgb(COLOR_NEUTRO_900);
Expand All @@ -28,6 +28,10 @@ const Modal = styled.div`
z-index: 11;
overflow: scroll;
${media.min('tablet')`
overflow: unset;
`}
.content {
background-color: ${COLOR_NEUTRO_100};
color: ${COLOR_NEUTRO_700};
Expand Down

0 comments on commit 0a5ae0b

Please sign in to comment.