Skip to content

Commit

Permalink
Fix #51 by subtracting input padding from width
Browse files Browse the repository at this point in the history
  • Loading branch information
benaltair committed Apr 26, 2021
1 parent f9bcbe0 commit 57522b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions styles/components/registrationForm.less
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ fieldset {

.form-control {
all: revert;
padding: 0.5em;
width: 100%;
--input-padding:0.5em;
padding: var(--input-padding);
width: calc(100% - var(--input-padding) * 2);
border-color: lightgrey;
border: 1px solid #ced4da;
border-radius: 0.3em;
Expand Down

0 comments on commit 57522b1

Please sign in to comment.