mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 10:50:26 -06:00
FIX plugin generator: mobile, desktop stylesheets registering (#9039)
After adding styles in the mobile scss they will also be applied to desktop without this change. https://meta.discourse.org/t/registering-assets-for-mobile-and-desktop-making-site-responsive/65041/2
This commit is contained in:
parent
a5c7f0c98d
commit
41ee7cad0e
@ -7,8 +7,8 @@
|
|||||||
# url: https://github.com/<%= @github_username %>
|
# url: https://github.com/<%= @github_username %>
|
||||||
|
|
||||||
register_asset 'stylesheets/common/<%= dasherized_name %>.scss'
|
register_asset 'stylesheets/common/<%= dasherized_name %>.scss'
|
||||||
register_asset 'stylesheets/desktop/<%= dasherized_name %>.scss'
|
register_asset 'stylesheets/desktop/<%= dasherized_name %>.scss', :desktop
|
||||||
register_asset 'stylesheets/mobile/<%= dasherized_name %>.scss'
|
register_asset 'stylesheets/mobile/<%= dasherized_name %>.scss', :mobile
|
||||||
|
|
||||||
enabled_site_setting :<%= underscored_name %>_enabled
|
enabled_site_setting :<%= underscored_name %>_enabled
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user