change chevron display logic

pull/5370/head
Joseph Izang 3 years ago
parent cc8b4380ec
commit bbc998ea29
  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