1
0
Fork 0
forked from OpenNeo/impress

Include application stylesheet first, so other styles override it

Ran into a funny thing on an upcoming change, where a style on the
page-specific stylesheet was getting undone by the *CSS Reset* of all
things in the application stylesheet. Resets come first!

I haven't audited that I didn't break a ton of stuff with this change,
but. I hope not! :)
This commit is contained in:
Emi Matchu 2024-09-09 18:33:28 -07:00
parent 8a8dd468be
commit 38b2bad044

View file

@ -11,8 +11,8 @@
- else
#{t 'app_name'}: #{t '.title_tagline'}
%link{href: image_path('favicon.png'), rel: 'icon'}
= yield :stylesheets
= stylesheet_link_tag "application"
= yield :stylesheets
- if use_responsive_design?
%meta{name: "viewport", content: "width=device-width, initial-scale=1"}
= yield :meta