aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-05 22:06:59 +0800
committerFabio Berger <me@fabioberger.com>2018-10-05 22:06:59 +0800
commitded6742ddd70e295f15dab6363c935777a6a5588 (patch)
tree816671091fbe1ced3040adb06f4898fdc08d2468
parentfa6bd348992674192d07fef3d60950980212ecbb (diff)
downloaddexon-sol-tools-ded6742ddd70e295f15dab6363c935777a6a5588.tar.gz
dexon-sol-tools-ded6742ddd70e295f15dab6363c935777a6a5588.tar.zst
dexon-sol-tools-ded6742ddd70e295f15dab6363c935777a6a5588.zip
remove inline style
-rw-r--r--packages/website/ts/components/documentation/docs_top_bar.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/website/ts/components/documentation/docs_top_bar.tsx b/packages/website/ts/components/documentation/docs_top_bar.tsx
index 0b563a76b..f95dbb5e1 100644
--- a/packages/website/ts/components/documentation/docs_top_bar.tsx
+++ b/packages/website/ts/components/documentation/docs_top_bar.tsx
@@ -115,14 +115,11 @@ export class DocsTopBar extends React.Component<DocsTopBarProps, DocsTopBarState
href={menuItemInfo.url}
target="_blank"
className="text-decoration-none"
- style={{
- fontSize: 16,
- }}
>
<Container className="flex">
<img src={menuItemInfo.iconUrl} width="18" />
<div className="flex items-center" style={{ ...menuItemInfo.textStyle, paddingLeft: 4 }}>
- {menuItemInfo.title}
+ <Text fontSize="16px">{menuItemInfo.title}</Text>
</div>
</Container>
</a>