Skip to content

Commit

Permalink
fix: z-index for overlay and filters in AddTraderForm (deriv-com#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
aum-deriv authored Jan 3, 2025
1 parent cffd159 commit 632abea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/ActiveSymbolsSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const ActiveSymbolsSelector = ({ selectedSymbols = [], onChange }) => {
))
)}
</div>
<div className="max-h-[32px] z-50">
<div className="max-h-[32px] z-20">
<Chip.SingleSelectDropdown
defaultOption={{
label: "Select a symbol",
Expand Down
2 changes: 1 addition & 1 deletion src/components/CopierDashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const CopierDashboard = () => {
)}
<div className="relative">
{(hasCopiers || showCopierBanner) && (
<div className="absolute inset-0 bg-gray-50/70 z-10" />
<div className="absolute inset-0 bg-gray-50/70 z-30" />
)}
<AddTraderForm onAddTrader={handleAddTrader} />

Expand Down
2 changes: 1 addition & 1 deletion src/components/TradeTypeSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const TradeTypeSelector = ({ selectedContracts = [], onChange }) => {
/>
))
)}
<div className="max-h-[32px] z-40">
<div className="max-h-[32px] z-10">
<Chip.SingleSelectDropdown
defaultOption={defaultOption}
value={defaultOption}
Expand Down

0 comments on commit 632abea

Please sign in to comment.