Skip to content

Commit

Permalink
Merge pull request #6756 from brave/fix-11958
Browse files Browse the repository at this point in the history
Fixes breaking amount input field on Windows and Linux
  • Loading branch information
ryanml committed Oct 3, 2020
1 parent b9cd28f commit d93a1c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions browser/extensions/api/settings_private/brave_prefs_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "brave/components/brave_wallet/browser/buildflags/buildflags.h"
#include "brave/components/brave_wayback_machine/buildflags.h"
#include "brave/components/brave_rewards/common/pref_names.h"
#include "brave/components/ipfs/browser/buildflags/buildflags.h"
#include "brave/components/moonpay/browser/buildflags/buildflags.h"
#include "brave/components/ntp_background_images/common/pref_names.h"
#include "chrome/browser/extensions/api/settings_private/prefs_util.h"
Expand All @@ -26,10 +25,6 @@
#include "brave/components/brave_wallet/common/brave_wallet_pref_names.h"
#endif

#if BUILDFLAG(IPFS_ENABLED)
#include "brave/components/ipfs/common/pref_names.h"
#endif

#if BUILDFLAG(MOONPAY_ENABLED)
#include "brave/components/moonpay/common/pref_names.h"
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export const AmountInput = styled<StyleProps, 'input'>('input')`
border-right: none;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
width: 75%;
${(p) => p.dropdownShowing
? css`
Expand All @@ -160,7 +161,7 @@ export const FiatDropdown = styled<StyleProps, 'div'>('div')`
display: inline-block;
height: 40px;
vertical-align: bottom;
width: 64px;
width: 25%;
padding-top: 10px;
cursor: pointer;
border-top-left-radius: 0px;
Expand Down

0 comments on commit d93a1c2

Please sign in to comment.