Skip to content

Commit

Permalink
Add back missing delete icon for form selectors
Browse files Browse the repository at this point in the history
Selector labels in forms did once have a visible delete icon (the X),
not sure when they disappeared.  It seems the image they refer to has
never been in the NAV code under that name, even if I'm sure I've seen
it work at some point.
  • Loading branch information
lunkwill42 committed May 3, 2024
1 parent a2be786 commit a6481f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/nav/web/sass/nav/_select2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ disabled look for disabled choices in the results dropdown

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
.select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice .select2-arrow b {
background-image: url('#{$image-path-partials}/select2/select2x2.png') !important;
background-image: url('#{$image-path-partials}/select2/select2.png') !important;
background-repeat: no-repeat !important;
background-size: 60px 40px !important;
}
Expand Down

0 comments on commit a6481f7

Please sign in to comment.