Skip to content

Commit 69208e0

Browse files
committed
Make about modal scrollable
1 parent 0ee58ed commit 69208e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/About.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,13 @@ const AboutPanel = styled.div`
166166
left: 50%;
167167
transform: translate(-50%, -50%);
168168
z-index: 99;
169+
padding: 10px;
169170
max-width: 650px;
171+
max-height: 100vh;
172+
overflow-y: auto;
170173
171174
color: ${props => props.theme.primary};
172175
background-color: ${props => props.theme.secondary};
173-
174-
padding: 10px;
175176
`;
176177

177178
const BannerContainer = styled.div`

0 commit comments

Comments
 (0)