Skip to content

Commit

Permalink
Add default styling to handle invalid inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam Hammett committed May 8, 2020
1 parent 52cd53b commit ed3a7bb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions stubs/default/resources/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@
*/
@tailwind base;

/**
* Remove the default box-shadow for invalid elements to prevent
* inputs in Livewire components showing with a
* red border by default in Firefox.
*
* See: https://github.com/laravel-frontend-presets/tall/issues/7
*/
input:invalid, textarea:invalid, select:invalid {
box-shadow: none;
}

/**
* This injects any component classes registered by plugins.
*/
Expand Down

0 comments on commit ed3a7bb

Please sign in to comment.