From 77f3c5120af2ec5648fb66eb29a8e8c158a520d2 Mon Sep 17 00:00:00 2001 From: yoonhyejin <0327jane@gmail.com> Date: Fri, 15 Nov 2024 23:07:48 +0900 Subject: [PATCH] fix: fix margin --- .../src/components/SolutionsDropdown/SolutionsDropdown.tsx | 2 +- .../SolutionsDropdown/SolutionsDropdownContent/index.js | 4 ---- .../SolutionsDropdownContent/styles.module.scss | 5 ++--- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/docs-website/src/components/SolutionsDropdown/SolutionsDropdown.tsx b/docs-website/src/components/SolutionsDropdown/SolutionsDropdown.tsx index 38205e4491ef4..dbcedb87507c1 100644 --- a/docs-website/src/components/SolutionsDropdown/SolutionsDropdown.tsx +++ b/docs-website/src/components/SolutionsDropdown/SolutionsDropdown.tsx @@ -53,7 +53,7 @@ function DropdownNavbarItemDesktop({ ...props }: DesktopOrMobileNavBarItemProps) { const dropdownRef = useRef(null); - const [showDropdown, setShowDropdown] = useState(true); // false + const [showDropdown, setShowDropdown] = useState(false); useEffect(() => { const handleClickOutside = ( diff --git a/docs-website/src/components/SolutionsDropdown/SolutionsDropdownContent/index.js b/docs-website/src/components/SolutionsDropdown/SolutionsDropdownContent/index.js index 7719cf31a3f96..035045ea8da46 100644 --- a/docs-website/src/components/SolutionsDropdown/SolutionsDropdownContent/index.js +++ b/docs-website/src/components/SolutionsDropdown/SolutionsDropdownContent/index.js @@ -30,10 +30,6 @@ function SolutionsDropdownContent() {
{item.description}
- {/*
-
*/} diff --git a/docs-website/src/components/SolutionsDropdown/SolutionsDropdownContent/styles.module.scss b/docs-website/src/components/SolutionsDropdown/SolutionsDropdownContent/styles.module.scss index 59735bf3df2ae..c8c81a5b99532 100644 --- a/docs-website/src/components/SolutionsDropdown/SolutionsDropdownContent/styles.module.scss +++ b/docs-website/src/components/SolutionsDropdown/SolutionsDropdownContent/styles.module.scss @@ -1,6 +1,7 @@ .container { width: 100%; - padding: 2rem; + padding: 1rem; + border-radius: 30px; } .row { @@ -28,8 +29,6 @@ background-repeat: no-repeat; background-size: contain; background-position: bottom right; - overflow: hidden; - min-height: 200px; height: 100%; }