mirror of
https://github.com/fspc/bike-database.git
synced 2025-02-23 09:33:23 -05:00
lk | improves (hopefully) styling of bike sale labels
This commit is contained in:
parent
c04184a786
commit
53a4bfab89
@ -6,7 +6,7 @@
|
||||
page-break-inside: avoid;
|
||||
margin: 10px;
|
||||
border: 5px solid black;
|
||||
height: 400px;
|
||||
height: 425px;
|
||||
text-align: center;
|
||||
.horizontal-line{
|
||||
width: 100%;
|
||||
@ -19,7 +19,24 @@
|
||||
margin: 10px;
|
||||
height: 200px;
|
||||
border: 2px dotted black;
|
||||
> p {
|
||||
padding-left: 5px;
|
||||
font-size: 0.75rem;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
.work-done {
|
||||
padding-right: 0;
|
||||
}
|
||||
.new-parts {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.container.print-labels {
|
||||
margin-top: -50px;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
@ -12,13 +12,13 @@
|
||||
%br
|
||||
= "Seat Tube Size: " + bike.seat_tube_size.to_s
|
||||
.row
|
||||
.col-xs-6
|
||||
.col-xs-6.work-done
|
||||
.desc
|
||||
.strong Work Done:
|
||||
%strong Work Done:
|
||||
=simple_format(bike.work_done)
|
||||
.col-xs-6
|
||||
.col-xs-6.new-parts
|
||||
.desc
|
||||
.strong New Parts:
|
||||
%strong New Parts:
|
||||
=simple_format(bike.new_parts)
|
||||
.row
|
||||
.col-xs-12= "Log #: " + bike.log_number.to_s + ", Serial #: " + bike.serial_number
|
||||
|
Loading…
x
Reference in New Issue
Block a user