diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-02 22:02:50 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-02 22:02:50 +0800 |
commit | 5906f4c9953b65421a16b947a5e03898281483bc (patch) | |
tree | 63208c0a14b177f5a5021b0ec4f739309fcaf6b6 /packages/website | |
parent | da8edd2226d79db78398a1e1e496f97e707e1525 (diff) | |
download | dexon-sol-tools-5906f4c9953b65421a16b947a5e03898281483bc.tar dexon-sol-tools-5906f4c9953b65421a16b947a5e03898281483bc.tar.gz dexon-sol-tools-5906f4c9953b65421a16b947a5e03898281483bc.tar.bz2 dexon-sol-tools-5906f4c9953b65421a16b947a5e03898281483bc.tar.lz dexon-sol-tools-5906f4c9953b65421a16b947a5e03898281483bc.tar.xz dexon-sol-tools-5906f4c9953b65421a16b947a5e03898281483bc.tar.zst dexon-sol-tools-5906f4c9953b65421a16b947a5e03898281483bc.zip |
Add underline to internal linksx
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/pages/shared/markdown_link_block.tsx | 5 |
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> ); |