File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 11import React from "react" ;
2- import styled from "styled-components" ;
32import { useToggle } from "react-use" ;
43import { useAccount } from "wagmi" ;
54import { useLockOverlayScroll } from "hooks/useLockOverlayScroll" ;
@@ -39,12 +38,9 @@ const NavBar: React.FC = () => {
3938 return (
4039 < >
4140 < div
42- className = {
43- "absolute top-16 left-0 right-0 max-h-[calc(100vh-64px)] overflow-y-auto z-1 bg-klerosUIComponentsWhiteBackground shadow-default p-6 [&_hr]:my-6 " +
44- `origin-top transform-${ isOpen ? "scaleY(1)" : "scaleY(0)" } visibility-${
45- isOpen ? "visible" : "hidden"
46- } transition-[transform,visibility] duration-[klerosUIComponentsTransitionSpeed] ease-in-out`
47- }
41+ className = { `absolute top-16 left-0 right-0 max-h-[calc(100vh-64px)] overflow-y-auto z-10 bg-klerosUIComponentsWhiteBackground shadow-default p-6 [&_hr]:my-6 origin-top transition-[transform,visibility] duration-[klerosUIComponentsTransitionSpeed] ease-in-out ${
42+ isOpen ? "scale-y-100 visible" : "scale-y-0 invisible"
43+ } `}
4844 >
4945 < LightButton
5046 text = "Kleros Solutions"
You can’t perform that action at this time.
0 commit comments