Skip to content

Commit

Permalink
filip(fix): adjust input fields clickable areas
Browse files Browse the repository at this point in the history
  • Loading branch information
fstoqnov-iohk committed Dec 27, 2024
1 parent d5f6d9f commit 5675fd0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
18 changes: 16 additions & 2 deletions src/components/Faucet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,14 @@ const FaucetInner = ({
}}
InputProps={{
endAdornment: (
<InputAdornment position="end">
<InputAdornment
position="end"
style={{
position: 'absolute',
right: 0,
zIndex: -1,
}}
>
<ChevronDown />
</InputAdornment>
),
Expand Down Expand Up @@ -324,7 +331,14 @@ const FaucetInner = ({
}}
InputProps={{
endAdornment: (
<InputAdornment position="end">
<InputAdornment
position="end"
style={{
position: 'absolute',
right: 0,
zIndex: -1,
}}
>
<ChevronDown />
</InputAdornment>
),
Expand Down
1 change: 1 addition & 0 deletions src/components/StakingCalculator/StakingCalculator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ export const AdvancedOptionsContainer = styled.div`
font-size: 1rem;
font-style: normal;
line-height: 1.5rem;
cursor: pointer;
svg {
margin-left: 1px;
Expand Down
5 changes: 4 additions & 1 deletion src/components/StakingCalculator/inputs/SelectCurrency.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ const SelectCurrency = ({ value, onChange, label, helperText, currencies }) => (
}}
InputProps={{
endAdornment: (
<InputAdornment position="end">
<InputAdornment
position="end"
style={{ position: 'absolute', right: 0, zIndex: -1 }}
>
<ChevronDown />
</InputAdornment>
),
Expand Down

0 comments on commit 5675fd0

Please sign in to comment.