meteor-bower
meteor-bower copied to clipboard
Problem with loading package assets (example: in select2, icons not loaded from the correct path in media queries)
In your README example, I use bower to instead load select2 version 3.4.8
The library seems to load fine except one for issue - one part of the css appears to be referencing the wrong path to load the icons.
This is the particular part of the css in select2 that is loading assets from the wrong path:
@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-image: url('select2x2.png') !important;
background-repeat: no-repeat !important;
background-size: 60px 40px !important;
}
The other parts of the css appears to be loading from the correct path so I don't know why the above with the media query was not corrected by bower:
correct path:
.select2-container .select2-choice .select2-arrow b {
display: block;
width: 100%;
height: 100%;
background: url('packages/bower/select2/select2.png') no-repeat 0 1px;
}
bug confirmed, PR welcome