mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:57:10 -06:00
DEV: moves print-specific styles from internal style tag to external print sheet (#6581)
* DEV: removes internal styles from print view * DEV: adds styles to print sheet
This commit is contained in:
parent
7b44339529
commit
7707e42441
@ -35,9 +35,16 @@
|
||||
.alert-info,
|
||||
.badge-category,
|
||||
.badge-category-bg,
|
||||
.badge-notification.clicks {
|
||||
.badge-notification.clicks,
|
||||
.crawler-nav,
|
||||
.powered-by-link {
|
||||
display: none !important;
|
||||
}
|
||||
/* For readability */
|
||||
a,
|
||||
a:visited {
|
||||
color: #0088cc !important;
|
||||
}
|
||||
/* bottom border to help separate posts */
|
||||
div.row {
|
||||
border-top: 1px solid #aaa;
|
||||
|
@ -104,18 +104,6 @@
|
||||
|
||||
<% if @topic_view.print %>
|
||||
<% content_for :after_body do %>
|
||||
<style media="print">
|
||||
/* For readability */
|
||||
a,
|
||||
a:visited {
|
||||
color: #0088cc !important;
|
||||
}
|
||||
/* hide crawler nav in print view */
|
||||
.crawler-nav,
|
||||
.powered-by-link {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<%= preload_script('print-page') %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
Loading…
Reference in New Issue
Block a user