mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 08:48:18 -05:00
Make LESS stylesheets media="all".
This allows us to put queries like "@media print" in the less files and have browsers accept it.
This commit is contained in:
@@ -29,9 +29,9 @@
|
||||
%for name in names:
|
||||
<% name = name[:name.rfind('.less')] %>
|
||||
%if g.uncompressedJS:
|
||||
<link rel="stylesheet/less" type="text/css" href="${static(name+'.less')}" />
|
||||
<link rel="stylesheet/less" type="text/css" href="${static(name+'.less')}" media="all">
|
||||
%else:
|
||||
<link rel="stylesheet" type="text/css" href="${static(name+'.css')}" />
|
||||
<link rel="stylesheet" type="text/css" href="${static(name+'.css')}" media="all">
|
||||
%endif
|
||||
%endfor
|
||||
</%def>
|
||||
|
||||
Reference in New Issue
Block a user