From 4b34c3642074807b34310a31b6a74cff33000e2a Mon Sep 17 00:00:00 2001 From: kgough Date: Mon, 5 Feb 2018 20:44:27 +1000 Subject: [PATCH] fix(ZNTA-2382) cursor: pointer added to editor buttons, controlHeader height and padding fix --- .../src/app/editor/components/Button/index.css | 6 ++++++ .../src/app/editor/containers/ControlsHeader.js | 2 +- .../src/app/editor/containers/Root/index.css | 8 ++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/server/zanata-frontend/src/app/editor/components/Button/index.css b/server/zanata-frontend/src/app/editor/components/Button/index.css index 941c815005..737c1ae4cb 100644 --- a/server/zanata-frontend/src/app/editor/components/Button/index.css +++ b/server/zanata-frontend/src/app/editor/components/Button/index.css @@ -48,6 +48,11 @@ not conflict with the other frontend code outline: inherit; } +.EditorButton:hover, html input[type=button], input[type=reset], input[type=submit] { + cursor: pointer; + -webkit-appearance: button; +} + /* Default */ .Button--default { @@ -229,3 +234,4 @@ not conflict with the other frontend code padding: var(--Button-padding-small); font-size: calc(14/16)rem; } + diff --git a/server/zanata-frontend/src/app/editor/containers/ControlsHeader.js b/server/zanata-frontend/src/app/editor/containers/ControlsHeader.js index 61cfcfbf18..84afb555a0 100644 --- a/server/zanata-frontend/src/app/editor/containers/ControlsHeader.js +++ b/server/zanata-frontend/src/app/editor/containers/ControlsHeader.js @@ -69,7 +69,7 @@ export const ControlsHeader = ({ }/*: props*/) => { return ( /* eslint-disable max-len */ -