Skip to content

Commit c4d74b2

Browse files
sarehagafc163
authored andcommitted
react-component#68 preserve background color for print
1 parent c0fc7e8 commit c4d74b2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

assets/index.less

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@
9090
animation-duration: 0.3s;
9191
animation-name: amCheckboxOut;
9292
}
93+
94+
@media print {
95+
box-shadow: inset 0 0 0 16px #3dbcf6;
96+
}
9397
}
9498
}
9599

@@ -111,6 +115,10 @@
111115
animation-name: none;
112116
border-color: #cccccc;
113117
}
118+
119+
@media print {
120+
box-shadow: inset 0 0 0 16px #f3f3f3;
121+
}
114122
}
115123
}
116124

0 commit comments

Comments
 (0)