mirror of
https://github.com/ineesalmeida/almeida-cv.git
synced 2025-05-14 05:55:17 +00:00
fix: prevent content from reaching upper and lower border in print
This commit is contained in:
parent
7cc99a0c52
commit
8484878f12
2 changed files with 11 additions and 5 deletions
assets/sass
|
@ -28,7 +28,6 @@ html {
|
|||
}
|
||||
@media print {
|
||||
margin: 0;
|
||||
height: paper_height($page-width) * $pages;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -38,9 +37,9 @@ body {
|
|||
|
||||
@media print {
|
||||
@page {
|
||||
margin: 0;
|
||||
margin: 12.5mm 0 25mm 0;
|
||||
size: A4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
::selection {
|
||||
|
|
|
@ -24,11 +24,18 @@
|
|||
position: absolute;
|
||||
float: right;
|
||||
width: $width-right-col;
|
||||
background-color: $color-right-col;
|
||||
height: 100%;
|
||||
padding: 2rem 3rem;
|
||||
right: 1rem;
|
||||
|
||||
@include shadow(0.5);
|
||||
@media print {
|
||||
border-left: 1px solid #e2e2e2;
|
||||
}
|
||||
|
||||
@media screen {
|
||||
background-color: $color-right-col;
|
||||
@include shadow(0.5);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue