Skip to content

Commit

Permalink
fix(misc): fix dropdown light theme bug (#1039)
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamgambhir97 authored Nov 12, 2024
1 parent 4c5d7fd commit 6d56eb5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions components/components.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,14 @@
backdrop-filter: blur(35px);
color: #5f38fb;
border: 1px solid #ffff;
border: none;
}

:is(html[class~="dark"] .tab:hover) {
background: rgba(95, 56, 251, 0.2);
backdrop-filter: blur(35px);
color: #fff;
border: none;
}

.label {
Expand Down
2 changes: 1 addition & 1 deletion components/guide-mdx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const FilterDropdown = ({
className="nx-z-50 nx-mt-2 nx-absolute dropDownGuide"
style={{ overflow: "hidden" }}
>
<div className="nx-flex-col nx-text-white nx-p-2 nx-w-full !nx-items-start nx-justify-between nx-cursor-pointer">
<div className="nx-flex-col nx-p-2 nx-w-full !nx-items-start nx-justify-between nx-cursor-pointer">
<div
className={`nx-text-lg nx-cursor-pointer ${styles.tab}`}
onClick={() => onSelectChange("All Types")}
Expand Down

0 comments on commit 6d56eb5

Please sign in to comment.