-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show focused border on currency selector
Previously we were embedding the currency selector inside of a bootstrap input-group-addon and hiding its border. This required a little extra magic because we had to hide the select's border and change its height to fit within. Having no border meant that there was no indication when the currency input was focused. Bootstrap doesn't fully support having multiple inputs within a input-group, but we can make it work by hiding the right border on the left input. A slight hack is needed to make focus look correct: we show the focused colour on the right input's left border when the left border is focused. This achieves the desired effect.
- Loading branch information
Showing
4 changed files
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters