From f3914ac2b16cc6b9a9651a0632fb39e0f4f85b46 Mon Sep 17 00:00:00 2001 From: rgerum <14153051+rgerum@users.noreply.github.com> Date: Mon, 9 May 2022 23:00:12 -0400 Subject: [PATCH] added pointer cursor when hovering over a story button --- .travis.yml | 6 +++++- packages/stories-app/src/index.css | 2 ++ packages/stories-app/src/index_react.jsx | 1 - 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4f891e0b..0b74fd10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,10 @@ before_install: script: - lerna run --parallel --stream start & wait-on http://localhost:8080 - cd packages/editor-app + - pwd - npx cypress run --record --key $CYPRESS_KEY - - cd ../packages/stories-app & wait-on http://localhost:3000 + - cd .. + - pwd + - cd packages/stories-app + - pwd - npx cypress run --record --key $CYPRESS_KEY diff --git a/packages/stories-app/src/index.css b/packages/stories-app/src/index.css index f182bf76..97717bbf 100644 --- a/packages/stories-app/src/index.css +++ b/packages/stories-app/src/index.css @@ -44,6 +44,8 @@ margin: 7px 17px 10px; display: inline-block; width: 134px; + cursor: pointer; + text-decoration: none; } .button_story_text { color: #4b4b4b; diff --git a/packages/stories-app/src/index_react.jsx b/packages/stories-app/src/index_react.jsx index 61f7fced..4a132a66 100644 --- a/packages/stories-app/src/index_react.jsx +++ b/packages/stories-app/src/index_react.jsx @@ -125,7 +125,6 @@ function StoryButton(props) { data-cy={"story_button_"+story.id} className="button_story_parent" onClick={(e) => {e.preventDefault(); props.onStoryClicked(story.id); }} - href={`?story=${story.id}`} >