diff --git a/app/assets/stylesheets/print_select.css.scss b/app/assets/stylesheets/print_select.css.scss index 656c738..36263eb 100644 --- a/app/assets/stylesheets/print_select.css.scss +++ b/app/assets/stylesheets/print_select.css.scss @@ -4,9 +4,9 @@ } .print-label{ page-break-inside: avoid; - margin: 10px; + margin: 1px; border: 5px solid black; - height: 425px; + height: 465px; text-align: center; .horizontal-line{ width: 100%; @@ -35,6 +35,10 @@ } +.col-xs-6.sale-label { + padding: 1px; +} + .container.print-labels { margin-top: -50px; width: 100%; diff --git a/app/views/bikes/print_labels.html.haml b/app/views/bikes/print_labels.html.haml index 7f4c42d..a0b8be3 100644 --- a/app/views/bikes/print_labels.html.haml +++ b/app/views/bikes/print_labels.html.haml @@ -1,6 +1,6 @@ .container.print-labels - @bikes.each do |bike| - .col-xs-6 + .col-xs-6.sale-label .print-label %h2 %strong='$' + bike.price