Skip to content

Commit ffcfc61

Browse files
authored
Update focus/hover style for link-button
To match the default browser style
1 parent 46369c3 commit ffcfc61

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/rules/anchor-is-valid.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,8 @@ Then use styling to change its appearance to that of a link:
118118
padding: 0;
119119
}
120120

121-
.link-button:hover,
122121
.link-button:focus {
123-
text-decoration: none;
122+
text-decoration: thin dotted;
124123
}
125124
```
126125

@@ -221,4 +220,4 @@ Invalid `href` attribute:
221220
<a href="javascript:void(0)" />
222221
<a href={"javascript:void(0)"} />
223222
<a href={`javascript:void(0)`} />
224-
```
223+
```

0 commit comments

Comments
 (0)