aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-02 22:02:50 +0800
committerFabio Berger <me@fabioberger.com>2018-03-02 22:02:50 +0800
commit5906f4c9953b65421a16b947a5e03898281483bc (patch)
tree63208c0a14b177f5a5021b0ec4f739309fcaf6b6 /packages/website
parentda8edd2226d79db78398a1e1e496f97e707e1525 (diff)
downloaddexon-0x-contracts-5906f4c9953b65421a16b947a5e03898281483bc.tar
dexon-0x-contracts-5906f4c9953b65421a16b947a5e03898281483bc.tar.gz
dexon-0x-contracts-5906f4c9953b65421a16b947a5e03898281483bc.tar.bz2
dexon-0x-contracts-5906f4c9953b65421a16b947a5e03898281483bc.tar.lz
dexon-0x-contracts-5906f4c9953b65421a16b947a5e03898281483bc.tar.xz
dexon-0x-contracts-5906f4c9953b65421a16b947a5e03898281483bc.tar.zst
dexon-0x-contracts-5906f4c9953b65421a16b947a5e03898281483bc.zip
Add underline to internal linksx
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/pages/shared/markdown_link_block.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/website/ts/pages/shared/markdown_link_block.tsx b/packages/website/ts/pages/shared/markdown_link_block.tsx
index 73c447636..a8246f654 100644
--- a/packages/website/ts/pages/shared/markdown_link_block.tsx
+++ b/packages/website/ts/pages/shared/markdown_link_block.tsx
@@ -26,7 +26,10 @@ export class MarkdownLinkBlock extends React.Component<MarkdownLinkBlockProps, M
);
} else if (_.startsWith(href, '#')) {
return (
- <a style={{ cursor: 'pointer' }} onClick={this._onHashUrlClick.bind(this, href)}>
+ <a
+ style={{ cursor: 'pointer', textDecoration: 'underline' }}
+ onClick={this._onHashUrlClick.bind(this, href)}
+ >
{this.props.children}
</a>
);