Skip to content

Commit

Permalink
Prepare landscape layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
flachware committed Jul 12, 2019
1 parent 0f1237e commit 1bed81b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/stylesheets/components/_print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ body {
}

@media (orientation: landscape) {
flex: 0 1 100vh;
flex: 0 0 100vh;
}
}
}
Expand All @@ -68,6 +68,12 @@ img {
.metadata-container {
flex: 1 0 auto;
display: flex;

@media (orientation: landscape) {
flex: 1 1 auto;
flex-direction: column;
padding-left: 1cm;
}
}

.col {
Expand Down Expand Up @@ -108,6 +114,7 @@ img {

.metadata-fields {
list-style-type: none;
padding: 0;
}

.metadata-field {
Expand All @@ -124,4 +131,5 @@ label {
.value {
flex: 0 0 67%;
padding-left: 1.25mm;
word-break: break-word;
}

0 comments on commit 1bed81b

Please sign in to comment.