Skip to content

Commit 24a99c3

Browse files
committed
Refine mobile
1 parent ed712d3 commit 24a99c3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/components/Navigation.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Navigation.res

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ module DocsSection = {
240240
</div>
241241

242242
let ecosystemColumn = {
243-
<div className="flex px-4 h-full sm:justify-center border-r border-gray-10 pt-8">
243+
<div className="flex px-4 sm:h-full sm:justify-center border-r border-gray-10 pt-8">
244244
<div className="w-full pb-16" style={ReactDOM.Style.make(~maxWidth="19.625rem", ())}>
245245
<div
246246
className="text-12 font-medium text-gray-100 tracking-wide uppercase subpixel-antialiased">
@@ -261,7 +261,7 @@ module DocsSection = {
261261
}
262262

263263
let quickReferenceColumn =
264-
<div className="flex px-4 h-full sm:justify-center pb-12 pt-8 pb-10">
264+
<div className="flex px-4 sm:h-full sm:justify-center pb-12 pt-8 pb-10">
265265
<div className="w-full" style={ReactDOM.Style.make(~maxWidth="19.625rem", ())}>
266266
<div
267267
className="text-12 font-medium text-gray-100 tracking-wide uppercase subpixel-antialiased">
@@ -331,7 +331,7 @@ module DocsSection = {
331331
}
332332

333333
<div
334-
className="relative w-full bg-white h-full text-gray-60 text-14 rounded-bl-xl rounded-br-xl">
334+
className="relative w-full bg-white pb-32 min-h-full sm:pb-0 text-gray-60 text-14 rounded-bl-xl rounded-br-xl">
335335
<div className={"flex justify-center w-full py-2 border-b border-gray-10"}>
336336
<div className="px-4 w-full space-x-2 max-w-1280 ">
337337
<VersionSelect
@@ -347,7 +347,7 @@ module DocsSection = {
347347
</div>
348348
</div>
349349
<div className="flex justify-center">
350-
<div className="w-full grid grid-cols-1 sm:grid-cols-3 max-w-1280">
350+
<div className="w-full sm:grid sm:grid-cols-3 max-w-1280">
351351
languageManualColumn ecosystemColumn quickReferenceColumn
352352
</div>
353353
</div>

0 commit comments

Comments
 (0)