From c6934f637ad519352fec302fa4108c3592ebb342 Mon Sep 17 00:00:00 2001 From: Louis Knapp Date: Thu, 17 Aug 2017 09:20:41 -0500 Subject: [PATCH] lk | further embiggens bike sale labels --- app/assets/stylesheets/print_select.css.scss | 8 ++++++-- app/views/bikes/print_labels.html.haml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) 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