Skip to content

Commit

Permalink
Fix #51 by subtracting input padding from width
Browse files Browse the repository at this point in the history
This time without using custom properties to get around LESS issue
  • Loading branch information
benaltair committed Apr 26, 2021
1 parent d9ae469 commit 2fac9f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion styles/components/registrationForm.less
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ fieldset {
.form-control {
all: revert;
padding: 0.5em;
width: 100%;
width: calc(100% - 0.5em * 2); /* Would be better to use custom properties, but crashed CSS processing (#51) */
border-color: lightgrey;
border: 1px solid #ced4da;
border-radius: 0.3em;
Expand Down

0 comments on commit 2fac9f8

Please sign in to comment.