diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-16 00:35:40 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-16 00:35:40 +0800 |
commit | ce151f630d10664353ff1c9172a7495557792abe (patch) | |
tree | 702cd4382ecd73d82608057816147179df5cf3df /packages/react-docs/src/components/signature_block.tsx | |
parent | 96d145f54ff559fe6a46626e73c67e716d6927cd (diff) | |
download | dexon-0x-contracts-ce151f630d10664353ff1c9172a7495557792abe.tar.gz dexon-0x-contracts-ce151f630d10664353ff1c9172a7495557792abe.tar.zst dexon-0x-contracts-ce151f630d10664353ff1c9172a7495557792abe.zip |
feat: highlighted sidebar as you scroll on doc reference pages
Diffstat (limited to 'packages/react-docs/src/components/signature_block.tsx')
-rw-r--r-- | packages/react-docs/src/components/signature_block.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/react-docs/src/components/signature_block.tsx b/packages/react-docs/src/components/signature_block.tsx index 5ec82983a..819311953 100644 --- a/packages/react-docs/src/components/signature_block.tsx +++ b/packages/react-docs/src/components/signature_block.tsx @@ -55,7 +55,7 @@ export class SignatureBlock extends React.Component<SignatureBlockProps, Signatu <div id={`${this.props.sectionName}-${method.name}`} style={{ overflow: 'hidden', width: '100%' }} - className="pb4" + className="pb4 pt2" onMouseOver={this._setAnchorVisibility.bind(this, true)} onMouseOut={this._setAnchorVisibility.bind(this, false)} > |