Skip to content

Commit

Permalink
Merge pull request Aspen-Discovery#2173 from Nashville-Public-Library…
Browse files Browse the repository at this point in the history
…/24.12.00-NashvilleStudentBarcode

Fixes student barcode alignment with 5160 labels
  • Loading branch information
mdnoble73 authored Dec 17, 2024
2 parents 1cfc984 + 3697d65 commit 1e256e6
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var patron = [];
textAlign: "left",
textMargin: 2,
textPosition: "top",
height: 40,
height: 33,
margin: 0,
width: barcodeWidth
});
Expand All @@ -66,14 +66,15 @@ document.addEventListener("DOMContentLoaded", function(event) {
<style>
.avery5160 {
/* Avery 5160 labels */
box-sizing: border-box !important;
width: 2.625in !important;
height: 1in !important;
margin: 0in .125in 0in 0in !important;
padding: .0625in !important;
float: left;
display: inline-block;
text-align: left;
overflow: hidden;
overflow: hidden !important;
outline: 1px dotted; /*outline doesn't occupy space like border does */
}
.gradehomeroom {
Expand All @@ -91,7 +92,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
@media print {
@page {
size: letter !important;
margin: 0.5in 0.0675in 0.5in 0.1875in; /* Adjust the margin to fit content within the page */
margin: 0.5in 0.0675in 0.5in 0.1875in !important; /* Adjust the margin to fit content within the page */
}
.avery5160 {
break-inside: avoid-page !important;
Expand All @@ -102,7 +103,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
, #horizontal-menu-bar-wrapper
, #page-header
, #side-bar
, #system-message-header
, #system-messages
, .breadcrumbs {
display: none;
}
Expand Down

0 comments on commit 1e256e6

Please sign in to comment.