Skip to content

Commit 6802e43

Browse files
committed
style: fix DappList component style
1 parent 2ec1c2f commit 6802e43

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

web/src/layout/Header/navbar/DappList.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,12 @@ const DappList: React.FC<IDappList> = ({ toggleIsDappListOpen }) => {
9090
<div
9191
ref={containerRef}
9292
className={clsx(
93-
"flex flex-col items-center absolute max-h-[340px] top-[5%] left-1/2 transform -translate-x-1/2 z-1 max-w-[480px]",
93+
"flex flex-col items-center absolute max-h-[340px] top-[5%] left-1/2 transform -translate-x-1/2 z-1 w-[86vw] max-w-[480px]",
9494
"border border-klerosUIComponentsStroke rounded-[3px]",
9595
"bg-klerosUIComponentsWhiteBackground shadow-[0px_2px_3px_rgba(0,0,0,0.06)]",
9696
"[&_svg]:visible",
97-
"lg:mt-16 lg:top-0 lg:left-0 lg:right-auto lg:transform-none lg:max-h-[80vh]"
97+
"lg:mt-16 lg:top-0 lg:left-0 lg:right-auto lg:transform-none lg:translate-x-0 lg:max-h-[80vh]"
9898
)}
99-
style={{ width: responsiveSize(300, 480, 900) }}
10099
>
101100
<h1 className="pt-6 text-2xl font-semibold leading-8">Kleros Solutions</h1>
102101
<div

0 commit comments

Comments
 (0)