Browse Source

lk | further embiggens bike sale labels

master
Louis Knapp 7 years ago
parent
commit
c6934f637a
  1. 8
      app/assets/stylesheets/print_select.css.scss
  2. 2
      app/views/bikes/print_labels.html.haml

8
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%;

2
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

Loading…
Cancel
Save