remove border in preview
This commit is contained in:
parent
6461995fbf
commit
62f5e83afa
|
|
@ -3,6 +3,13 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CV</title>
|
||||
<style>
|
||||
/* styles here should be removed in @media print */
|
||||
body {
|
||||
border: 1px solid #ccc;
|
||||
border-left: 0;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="/src/scss/print.css">
|
||||
<link rel="stylesheet" href="/src/themes/<%= theme %>/index.scss">
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -19,8 +19,6 @@ body {
|
|||
/* simulate print page size */
|
||||
padding: 10mm;
|
||||
width: calc(210mm - 20mm);
|
||||
border: 1px solid #ccc;
|
||||
border-left: 0;
|
||||
}
|
||||
@media print {
|
||||
/* remove simulate print page size, let @page decide the size and margin */
|
||||
|
|
|
|||
Loading…
Reference in New Issue