Skip to content

Commit

Permalink
Merge pull request #1294 from navikt/skjul-header-print-ekstern
Browse files Browse the repository at this point in the history
Skjul header print ekstern
  • Loading branch information
johatr authored Jul 30, 2024
2 parents 2ecc201 + cd0b25e commit db15d30
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,15 @@
}

@media print {
@page {
margin: 0;
}

body {
margin-bottom: 5mm;
margin-top: 5mm;
}

.ReactModal__Body--open {
position: relative;
}
Expand All @@ -144,6 +153,10 @@
.veilarbpersonflatefs[aria-hidden='true'] {
display: none;
}

decorator-header, decorator-footer {
display: none;
}
}

body {
Expand Down

0 comments on commit db15d30

Please sign in to comment.