aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-shared
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-24 17:38:11 +0800
committerGitHub <noreply@github.com>2018-04-24 17:38:11 +0800
commitebd6f7ace0c38315e0deb6cbb2036bc3b0a22d23 (patch)
tree091084f5f32e99a1f9d173ee010b1cf403d15fea /packages/react-shared
parentfd041e2997dd10eeb5a50f413775e247176a8432 (diff)
parenta6d5cd4b39140c7ceca31644941c0e67405df7d5 (diff)
downloaddexon-sol-tools-ebd6f7ace0c38315e0deb6cbb2036bc3b0a22d23.tar
dexon-sol-tools-ebd6f7ace0c38315e0deb6cbb2036bc3b0a22d23.tar.gz
dexon-sol-tools-ebd6f7ace0c38315e0deb6cbb2036bc3b0a22d23.tar.bz2
dexon-sol-tools-ebd6f7ace0c38315e0deb6cbb2036bc3b0a22d23.tar.lz
dexon-sol-tools-ebd6f7ace0c38315e0deb6cbb2036bc3b0a22d23.tar.xz
dexon-sol-tools-ebd6f7ace0c38315e0deb6cbb2036bc3b0a22d23.tar.zst
dexon-sol-tools-ebd6f7ace0c38315e0deb6cbb2036bc3b0a22d23.zip
Merge pull request #549 from 0xProject/feature/contracts/combineAssetProxyDispatcher
Merge Exchange and AssetProxyDispatcher (depends on #548)
Diffstat (limited to 'packages/react-shared')
-rw-r--r--packages/react-shared/src/components/anchor_title.tsx19
1 files changed, 12 insertions, 7 deletions
diff --git a/packages/react-shared/src/components/anchor_title.tsx b/packages/react-shared/src/components/anchor_title.tsx
index f44354097..6e648739d 100644
--- a/packages/react-shared/src/components/anchor_title.tsx
+++ b/packages/react-shared/src/components/anchor_title.tsx
@@ -27,12 +27,6 @@ const styles: Styles = {
transform: 'rotate(45deg)',
cursor: 'pointer',
},
- headers: {
- WebkitMarginStart: 0,
- WebkitMarginEnd: 0,
- fontWeight: 'bold',
- display: 'block',
- },
h1: {
fontSize: '1.8em',
},
@@ -58,7 +52,18 @@ export class AnchorTitle extends React.Component<AnchorTitleProps, AnchorTitleSt
opacity = this.state.isHovering ? 0.6 : 1;
}
return (
- <div className="relative flex" style={{ ...styles[this.props.headerSize], ...styles.headers }}>
+ <div
+ className="relative flex"
+ style={
+ {
+ ...styles[this.props.headerSize],
+ fontWeight: 'bold',
+ display: 'block',
+ WebkitMarginStart: 0,
+ WebkitMarginEnd: 0,
+ } as any
+ }
+ >
<div className="inline-block" style={{ paddingRight: 4 }}>
{this.props.title}
</div>