aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-15 19:49:47 +0800
committerFabio Berger <me@fabioberger.com>2018-10-15 19:49:47 +0800
commit6ada38248ec4d44605465f41cfe5e0801d26aa32 (patch)
treec726c53a8124db99c01ea3d6daa008d553d64ea7 /packages/website/ts/pages
parent60208091a49fcd41514a60d5735bc736edf81275 (diff)
downloaddexon-sol-tools-6ada38248ec4d44605465f41cfe5e0801d26aa32.tar
dexon-sol-tools-6ada38248ec4d44605465f41cfe5e0801d26aa32.tar.gz
dexon-sol-tools-6ada38248ec4d44605465f41cfe5e0801d26aa32.tar.bz2
dexon-sol-tools-6ada38248ec4d44605465f41cfe5e0801d26aa32.tar.lz
dexon-sol-tools-6ada38248ec4d44605465f41cfe5e0801d26aa32.tar.xz
dexon-sol-tools-6ada38248ec4d44605465f41cfe5e0801d26aa32.tar.zst
dexon-sol-tools-6ada38248ec4d44605465f41cfe5e0801d26aa32.zip
chore: improve rendering of sidebar top section on mobile
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r--packages/website/ts/pages/documentation/doc_page.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/website/ts/pages/documentation/doc_page.tsx b/packages/website/ts/pages/documentation/doc_page.tsx
index 19e76a51b..65d9b68a9 100644
--- a/packages/website/ts/pages/documentation/doc_page.tsx
+++ b/packages/website/ts/pages/documentation/doc_page.tsx
@@ -112,7 +112,11 @@ export class DocPage extends React.Component<DocPageProps, DocPageState> {
<Container>
<Container className="flex justify-bottom">
<Container className="left pl1" width="150px">
- <Text fontColor={colors.lightLinkBlue} fontSize="22px" fontWeight="bold">
+ <Text
+ fontColor={colors.lightLinkBlue}
+ fontSize={this.props.screenWidth === ScreenWidths.Sm ? '20px' : '22px'}
+ fontWeight="bold"
+ >
{this.props.docsInfo.displayName}
</Text>
</Container>