mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:54:16 +08:00
FIX: Select2 retina icons were broken
This commit is contained in:
parent
a1baf73956
commit
907f6cd76b
16
app/assets/stylesheets/vendor/select2.scss
vendored
16
app/assets/stylesheets/vendor/select2.scss
vendored
|
@ -582,19 +582,3 @@ html[dir="rtl"] .select2-search-choice-close {
|
|||
height: 100px;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
/* Retina-ize icons */
|
||||
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 2dppx) {
|
||||
.select2-search input,
|
||||
.select2-search-choice-close,
|
||||
.select2-container .select2-choice abbr,
|
||||
.select2-container .select2-choice .select2-arrow b {
|
||||
background: asset-url('select2x2.png') no-repeat !important;
|
||||
background-size: 60px 40px !important;
|
||||
}
|
||||
|
||||
.select2-search input {
|
||||
background-position: 100% -21px !important;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user