fix: No reserving space in sidebar for overflow (#2807)
* fix: No reserving space in sidebar for overflow closes #2486 Co-authored-by: Charles Harries <charles@harries.me>
This commit is contained in:
@@ -250,9 +250,8 @@ function DocumentLink(
|
||||
/>
|
||||
</>
|
||||
}
|
||||
// @ts-expect-error ts-migrate(7006) FIXME: Parameter 'match' implicitly has an 'any' type.
|
||||
isActive={(match, location) =>
|
||||
match && location.search !== "?starred"
|
||||
!!match && location.search !== "?starred"
|
||||
}
|
||||
isActiveDrop={isOverReparent && canDropToReparent}
|
||||
depth={depth}
|
||||
|
||||
Reference in New Issue
Block a user