projectblacklight / blacklight-gallery

Gallery views for Blacklight
Other
13 stars 11 forks source link

Improrting blacklight_gallery/default.scss causes 2 copies of Bootstrap styles #127

Open jcoyne opened 1 year ago

jcoyne commented 1 year ago

Because default.scss includes bootstrap, and because blacklight itself already includes bootstrap, there are two copies. I worked around this by replacing:

@import 'blacklight_gallery/default'

With

@import "blacklight_gallery/gallery";
@import "blacklight_gallery/masonry";
@import "blacklight_gallery/slideshow";
@import "blacklight_gallery/osd_viewer";
jcoyne commented 1 year ago

See https://github.com/sul-dlss/exhibits/commit/6d9ba0c4723837f539de120a9cce27becc864156