Skip to content

Commit 11df7ce

Browse files
committed
fix spacing in tutorials modal
1 parent b8236bc commit 11df7ce

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

src/pages/developers/tutorials.tsx

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -260,20 +260,16 @@ const TutorialPage = ({
260260
<Text>
261261
<Translation id="page-developers-tutorials:page-tutorial-submit-tutorial" />
262262
</Text>
263-
<Flex flexDirection={{ base: "column", md: "initial" }}>
263+
<Flex flexDirection={{ base: "column", md: "row" }} gap="2">
264264
<Flex
265+
flex="1"
265266
borderWidth="1px"
266267
borderStyle="solid"
267268
borderColor="border"
268269
borderRadius="base"
269270
p={4}
270271
flexDirection="column"
271-
w={{ base: "full", md: "50%" }}
272272
justifyContent="space-between"
273-
mt={2}
274-
mb={{ base: 2, md: 6 }}
275-
ms={0}
276-
me={{ base: 0, md: 2 }}
277273
>
278274
<Text as="b">
279275
<Translation id="page-developers-tutorials:page-tutorial-new-github" />
@@ -290,18 +286,14 @@ const TutorialPage = ({
290286
</ButtonLink>
291287
</Flex>
292288
<Flex
289+
flex="1"
293290
borderWidth="1px"
294291
borderStyle="solid"
295292
borderColor="border"
296293
borderRadius="base"
297294
p={4}
298295
flexDirection="column"
299-
w={{ base: "full", md: "50%" }}
300296
justifyContent="space-between"
301-
mt={2}
302-
mb={{ base: 2, md: 6 }}
303-
ms={0}
304-
me={{ base: 0, md: 2 }}
305297
>
306298
<Text as="b">
307299
<Translation id="page-developers-tutorials:page-tutorial-pull-request" />

0 commit comments

Comments
 (0)