Skip to content

Instantly share code, notes, and snippets.

@glamrock
Created November 8, 2013 15:59
Show Gist options
  • Save glamrock/7373199 to your computer and use it in GitHub Desktop.
Save glamrock/7373199 to your computer and use it in GitHub Desktop.
Unfortunately, this causes 5 columns per page rather than 6, but it's just a series of nudges to get it there. On the Drupal side, there are classes added to QR code and descriptors (see below).
@page {
margin-top: 13mm;
/*margin-bottom: 8mm; factor for padding */
margin-left: 20mm;
margin-right: 20mm;}
#page {padding: 0; margin: 0;}
td div {
margin-right: auto;
margin-left: auto;
text-align: center;
}
td {
/* padding-bottom: 5mm;
padding-right: 8mm; */
}
tr {
max-height: 380px;
height: 180px;
}
table {
page-break-inside: avoid;
max-height: ;
}
.itemname {
font: 10pt Arial;
margin-top: -40px;
height: 15px;
width: 160px;
overflow: hidden;
}
.views-field {
font: 10pt Arial;
}
.itemnumber {
font: bold;
}
.itemqr {
max-width: 250px;
margin-bottom: -35px;
margin-top: -30px;
}
.itemqr img {
height: 150px;
margin-top: -30px;
}
.view-filters {
display: none;
}
#branding {
display:none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment