Change anchor to button element (#3321)
Fix warning for ESLint (jsx-a11y/href-no-hash).
This commit is contained in:
parent
2531c5953b
commit
4b11675bdc
4 changed files with 43 additions and 22 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue