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:
parent
8a8dd468be
commit
38b2bad044
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue