framework icon indicating copy to clipboard operation
framework copied to clipboard

CSS ordering causing cascade issues

Open aalin opened this issue 3 years ago • 1 comments

:css
  .paragraph { margin: 1em 0; }
%p.paragraph
  %slot
:ruby
  Paragraph = import("./Paragraph")
:css
  .override { margin: 0; }
%Paragraph.override
  It is possible that this override doesn't get applied because
  the stylesheets were loaded in the wrong order.

I don't know it it would be possible to solve this somehow with @layer. Maybe could get the order from the dependency graph and insert the order into the root css file...

aalin avatar Nov 02 '22 06:11 aalin

Would probably be fixed by #61

aalin avatar May 09 '23 13:05 aalin