Skip to content

Commit

Permalink
bug #5239 Fix the select tag design in dark mode (javiereguiluz)
Browse files Browse the repository at this point in the history
This PR was merged into the 4.x branch.

Discussion
----------

Fix the select tag design in dark mode

Fixes #5223.

Commits
-------

b679250 Fix the select tag design in dark mode
  • Loading branch information
javiereguiluz committed May 19, 2022
2 parents 5a108c8 + b679250 commit a9267cd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions assets/css/easyadmin-theme/forms.scss
Expand Up @@ -89,6 +89,10 @@ label.form-check-label {
word-break: keep-all;
transition: box-shadow .08s ease-in, color .08s ease-in;
}
body.ea-dark-scheme .form-widget .form-select {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23adb5bd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-widget .form-select[multiple] {
height: auto;
background-image: none;
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/public/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Resources/public/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Resources/public/app.rtl.css

Large diffs are not rendered by default.

0 comments on commit a9267cd

Please sign in to comment.