Skip to content

Fix conflicting storybook styles

Warren Gifford requested to merge fix-conflicting-storybook-styles into master

Created by: felixfbecker

Fixes #9701 (closed)

This is a prerequisite to using them for Percy test.

Each test imports the styles needed for the component to work and renders them in a <style> tag (which gets removed afterwards).

In many cases, shared/ components also import the web styles, because they don't look useable without some styles. We may want to only test the Web wrappers around them, or just use plain Bootstrap. It doesn't solve not relying on those styles in shared/ though, and I don't know a good solution for that yet unfortunately. For now, I just want to fix the storybooks.

Merge request reports

Loading