Skip to content

Commit

Permalink
fix: move input width to base element stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
tjuanitas committed Jun 21, 2023
1 parent c08ce6a commit 744e406
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/elements/common/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
line-height: 20px;
letter-spacing: .3px;

// TODO: Remove when border-color in src/styles/_inputs.scss is accessible
input[type='text'],
input[type='date'],
input[type='password'],
Expand All @@ -23,7 +22,8 @@
input[type='number'],
div[contentEditable='true'],
textarea {
border-color: $bdl-gray-50;
width: 100%;
border-color: $bdl-gray-50; // TODO: Remove when border-color in src/styles/_inputs.scss is accessible
}

/* stylelint-disable */
Expand Down
2 changes: 1 addition & 1 deletion src/styles/common/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ input[type='tel'],
input[type='number'],
div[contentEditable='true'],
textarea {
width: 100%;
width: 262px;

@include box-inputs;
}
Expand Down

0 comments on commit 744e406

Please sign in to comment.