From a6d5cd4b39140c7ceca31644941c0e67405df7d5 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 24 Apr 2018 17:38:25 +0900 Subject: Fix CI failures caused by Webkit css properties not being recognized by React types. This is a hack. --- packages/react-shared/src/components/anchor_title.tsx | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'packages/react-shared/src') 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 +
{this.props.title}
-- cgit v1.2.3