change chevron display logic

pull/1671/head
Joseph Izang 3 years ago
parent a79860b3ac
commit 9cdddaeee9
  1. 2
      libs/remix-ui/vertical-icons-panel/src/lib/components/Chevron.tsx

@ -9,7 +9,7 @@ export interface ChevronProps {
function Chevron (props: ChevronProps) {
return (
<>
{ props.divElementRef.current && props.divElementRef.current.scrollHeight > props.divElementRef.current.clientHeight
{ props.divElementRef.current && props.divElementRef.current.scrollHeight > 600
? <i className={props.cssRule}></i> : null }
</>
)

Loading…
Cancel
Save