SSWConsulting / zzSSW.Website

Generator for ssw.com.au
3 stars 1 forks source link

♻️Test scoping of module CSS files #229

Open steven0x51 opened 2 years ago

steven0x51 commented 2 years ago

Cc: @adamcogan @pierssinclairssw @lukecookssw @ozairashfaqueSSW

Hi

Pain

The previous observation found that the CSS module was not scoped in the component, for example if adding a style to an anchor in a CSS file, not only the component applied the style all other component with an anchor would adapt that style even there are not in the same scope. The issue was suspected due to the error #221. but since it has been fixed, we need to test if the CSS module is scoped in appropriate way now.

What code could be improved?

  1. Add a style appeared in different components to a CSS file.
  2. Check if the CSS style only affects in the scoped module and not on others.

Tasks

Thanks!