Skip to content

Commit

Permalink
Refactor: remove input border on focus (#7349)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaHungDinh authored Apr 18, 2024
1 parent 42dc16b commit fbfa45d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ textarea {
&::placeholder {
opacity: 0.6;
}

&:focus {
border-color: transparent;
}
}

button[type="submit"] {
Expand Down
9 changes: 9 additions & 0 deletions src/DonationForms/resources/styles/_base-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,12 @@ label, fieldset {
input[type="file"] {
padding: 0;
}

input[type="text"]:not([name="amount"], [name="amount-custom"]),
input[type="password"],
input[type="email"],
textarea {
&:focus {
border-color: transparent;
}
}

0 comments on commit fbfa45d

Please sign in to comment.