From f86aead49ee77b94d702bedcce1e074b0523e8a4 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Fri, 13 Sep 2013 14:49:20 -0400 Subject: [PATCH] Disable custom stylesheets on mobile for now. --- app/views/common/_discourse_stylesheet.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/common/_discourse_stylesheet.html.erb b/app/views/common/_discourse_stylesheet.html.erb index d0dbda215e2..168617f6ae5 100644 --- a/app/views/common/_discourse_stylesheet.html.erb +++ b/app/views/common/_discourse_stylesheet.html.erb @@ -10,4 +10,6 @@ <%= stylesheet_link_tag "admin"%> <%-end%> -<%=SiteCustomization.custom_stylesheet(session[:preview_style])%> +<% unless mobile_view? %> + <%= SiteCustomization.custom_stylesheet(session[:preview_style]) %> +<% end %>