File tree Expand file tree Collapse file tree 1 file changed +18
-12
lines changed Expand file tree Collapse file tree 1 file changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -145,18 +145,24 @@ const GettingStartedPage: NextPageWithLayout<Lessons> = () => {
145
145
fontSize : "xl" ,
146
146
} }
147
147
>
148
- { lesson . frontMatter . title }
149
- { lesson && lesson . completed && lesson . completed === true ? (
150
- < Badge
151
- ml = "1"
152
- alignItems = { "flex-end" }
153
- colorScheme = "green"
154
- position = "absolute"
155
- right = { 3 }
156
- >
157
- Completed
158
- </ Badge >
159
- ) : null }
148
+ < Flex direction = { ! isMobile ? "row" : "column" } >
149
+ < Box > { lesson . frontMatter . title } </ Box >
150
+ < Box >
151
+ { lesson &&
152
+ lesson . completed &&
153
+ lesson . completed === true ? (
154
+ < Badge
155
+ ml = "1"
156
+ alignItems = { "flex-end" }
157
+ colorScheme = "green"
158
+ position = "absolute"
159
+ right = { 3 }
160
+ >
161
+ Completed
162
+ </ Badge >
163
+ ) : null }
164
+ </ Box >
165
+ </ Flex >
160
166
</ Button >
161
167
</ Link >
162
168
</ ListItem >
You can’t perform that action at this time.
0 commit comments