Skip to content

Commit 5ceb2b9

Browse files
Fix #89
1 parent b011a78 commit 5ceb2b9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/sass/partials/_print.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
55

66
@media print {
7-
*, :before, :after, *:first-letter, *:first-line {
7+
*, :before, :after,
8+
*:first-letter,
9+
// Cannot use universal selector here as it causes the browser to hang.
10+
// https://github.com/ResponsiveBP/Responsive/issues/89
11+
p:first-line,
12+
div:first-line,
13+
blockquote:first-line,
14+
li:first-line {
815
box-shadow: none !important;
916
text-shadow: none !important;
1017
background: transparent !important;

0 commit comments

Comments
 (0)