mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Only "linked" parameters should have pointer cursor (#742)
If a parameter has no target to scroll to, it should not suggest otherwise by changing the cursor to a pointer. Since the scrolling is done via JS, we should also change the cursor via JS.[1] While we're at it, we also fix the potential JS error where we call the `.offset()` method on an empty `jQuery` object. [1] <https://github.com/php/doc-en/issues/2071#issuecomment-1354497367>
This commit is contained in:
committed by
GitHub
parent
57fe66b12e
commit
8463593803
@@ -1220,9 +1220,6 @@ header.title {
|
||||
|
||||
/* {{{ General styles (p, parameters, initializers, ...) */
|
||||
|
||||
.refsect1 .parameter {
|
||||
cursor:pointer;
|
||||
}
|
||||
.refsect1 dt {
|
||||
height:1.5rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user