mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: adds support for mobile view on page publishing (#10662)
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
<%= discourse_stylesheet_link_tag 'publish', theme_ids: nil %>
|
||||
|
||||
<%- if rtl? %>
|
||||
<%= discourse_stylesheet_link_tag(mobile_view? ? :publish_mobile_rtl : :publish_mobile_rtl) %>
|
||||
<%- else %>
|
||||
<%= discourse_stylesheet_link_tag(mobile_view? ? :publish_mobile : :publish_desktop) %>
|
||||
<%- end %>
|
||||
|
||||
<%- Discourse.find_plugin_css_assets(include_official: allow_plugins?, include_unofficial: allow_third_party_plugins?, mobile_view: mobile_view?, desktop_view: !mobile_view?, request: request).each do |file| %>
|
||||
<%= discourse_stylesheet_link_tag(file) %>
|
||||
<%- end %>
|
||||
|
||||
Reference in New Issue
Block a user