From 439920c652c4d0675a7d95343f970a1a288d097d Mon Sep 17 00:00:00 2001 From: Shawn Erquhart Date: Wed, 25 Jul 2018 05:34:19 -0400 Subject: [PATCH] fix UI bugs --- .../src/components/App/Header.js | 10 +-- .../src/components/Collection/Sidebar.js | 4 +- .../src/RelationControl.js | 77 ++++++++----------- 3 files changed, 37 insertions(+), 54 deletions(-) diff --git a/packages/netlify-cms-core/src/components/App/Header.js b/packages/netlify-cms-core/src/components/App/Header.js index 35909e33..b10dcd03 100644 --- a/packages/netlify-cms-core/src/components/App/Header.js +++ b/packages/netlify-cms-core/src/components/App/Header.js @@ -47,9 +47,7 @@ const AppHeaderContent = styled.div` `; const AppHeaderButton = styled.button` - border: 0; - cursor: pointer; - background-color: transparent; + ${buttons.button}; color: #7b8290; font-size: 16px; font-weight: 500; @@ -103,8 +101,6 @@ export default class Header extends React.Component { displayUrl: PropTypes.string, }; - static activeClassName = `${uuid()}-active`; - handleCreatePostClick = (collectionName) => { const { onCreateEntryClick } = this.props; if (onCreateEntryClick) { @@ -132,7 +128,7 @@ export default class Header extends React.Component {