Skip to content

Commit

Permalink
style(next): fix broken states on textareas
Browse files Browse the repository at this point in the history
  • Loading branch information
adoriandoran committed Jan 14, 2025
1 parent cb65591 commit f7efc03
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/public/stylesheets/theme-next/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ input:not([type]),
input[type="text"],
input[type="number"],
input[type="password"],
.form-control {
textarea.form-control,
textarea {
outline: 3px solid transparent;
outline-offset: 6px;
border: unset;
Expand All @@ -24,7 +25,8 @@ input:not([type]):hover,
input[type="text"]:hover,
input[type="number"]:hover,
input[type="password"]:hover,
.form-control:hover {
textarea.form-control:hover,
textarea:hover {
background: var(--input-hover-background);
color: var(--input-hover-color);
}
Expand All @@ -33,7 +35,8 @@ input:not([type]):focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
.form-control:focus {
textarea.form-control:focus,
textarea:focus {
box-shadow: unset;
outline: 3px solid var(--input-focus-outline-color);
outline-offset: 0;
Expand Down

0 comments on commit f7efc03

Please sign in to comment.