samvera-labs / openseadragon-react-viewer

A React wrapper around the OpenSeadragon viewer which extends viewer functionality.
https://samvera-labs.github.io/openseadragon-react-viewer/
27 stars 7 forks source link

Add specific names to css classes, fix bug for active-thumbnail #27

Closed katdivyareddy10 closed 4 years ago

katdivyareddy10 commented 4 years ago

After researching modifying classnames to remove hash prefix, it is decided to implement labels to identify css classes uniquely (https://emotion.sh/docs/labels). Previously this was achieved using a babel-plugin-emotion plugin. But as of the latest emotion version (> 10.0.0) this feature is included in emotion.

Screen Shot 2020-06-11 at 12 21 57 PM