From 4b11675bdc0e99e3e03fde056a1e50e847cec81b Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Fri, 26 May 2017 21:10:37 +0900 Subject: Change anchor to button element (#3321) Fix warning for ESLint (jsx-a11y/href-no-hash). --- app/javascript/styles/components.scss | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'app/javascript/styles') diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index 91f7b8057..e821a2a05 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -1965,9 +1965,14 @@ button.icon-button.active i.fa-retweet { .load-more { display: block; color: lighten($ui-base-color, 26%); + background-color: transparent; + border: 0; + font-size: inherit; text-align: center; + line-height: inherit; + margin: 0; padding: 15px; - text-decoration: none; + width: 100%; clear: both; &:hover { @@ -2916,11 +2921,15 @@ button.icon-button.active i.fa-retweet { min-width: 33px; } - a { + .onboarding-modal__nav { color: darken($ui-secondary-color, 34%); - text-decoration: none; + background-color: transparent; + border: 0; font-size: 14px; font-weight: 500; + padding: 0; + line-height: inherit; + height: auto; &:hover, &:focus, -- cgit