Skip to content

v1.0.1

Compare
Choose a tag to compare
@ajolipa ajolipa released this 02 May 16:54
· 89 commits to main since this release
765c8c8

What's Changed

  • Updates all the CSS files to be scoped only to apply inside an element with the editioncrafter class, which is applied to the outermost div of the component. This should fix issues with embedding the component in sites with their own CSS, where previously we were experiencing clashes (for example, link text turning red because EditionCrafter was applying styles to <a> elements globally). This should also help with issues where utilities like Tailwind or Bootstrap were imposing their own styling on elements within the viewer that had semantic or utility class names (e.g. thumbnail, fixed, sticky, etc.).
  • Improves error handling in the case that there is no image data associated with a canvas in the IIIF manifest; the current fix is to just not include that canvas on the list of folios. This avoids an infinite loop in which the grid view continually attempts to load an image that doesn't exist.

See PR #113 for details, or view the full change log here: v1.0.0...v1.0.1