mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Prevents header anchors from interfering with clickable content.
This commit is contained in:
1 parent
d3cee1ee2e
commit
e7f48a6c00
1 file changed
+1
@@ -80,6 +80,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||
&.anchor {
|
||||
position: relative;
|
||||
top: -$navHeight;
|
||||
z-index: -1;
|
||||
> a {
|
||||
color: $darkTextColor;
|
||||
position: relative;
|
||||
|
||||
Reference in new issue
Block a user