diff --git a/app/assets/javascripts/custom.js b/app/assets/javascripts/custom.js index 818807c2..2460031d 100644 --- a/app/assets/javascripts/custom.js +++ b/app/assets/javascripts/custom.js @@ -2,6 +2,8 @@ $(document).ready(function() { $('body').bootstrapMaterialDesign(); var height = ($(window).height() - ($('.legal').outerHeight() + $('.user-info').outerHeight() + $('.navbar').innerHeight())); +console.log(height); +console.log($('#order-detail-slimscroll').attr('data-height')) $('#custom-slimscroll').slimScroll({ height: height, @@ -13,7 +15,7 @@ $(document).ready(function() { }); $('#order-detail-slimscroll').slimScroll({ - height: height-180, + height: height-$('#order-detail-slimscroll').attr('data-height'), size: '5px', color: 'rgba(0,0,0,0.5)', alwaysVisible: false, diff --git a/app/assets/stylesheets/origami.scss b/app/assets/stylesheets/origami.scss index de838a1e..b5176c2e 100755 --- a/app/assets/stylesheets/origami.scss +++ b/app/assets/stylesheets/origami.scss @@ -56,7 +56,7 @@ select.form-control { /* End Reset */ #back { - padding: 0px 0px 7px 0px; + padding: 7px 0px 7px 0px; } .order-info { @@ -80,8 +80,8 @@ select.form-control { .cashier_number{ width: 33%; - height:70px; - line-height:70px; + height:58px; + line-height:58px; text-align:center; background:#54A5AF; // float:left; @@ -97,16 +97,16 @@ select.form-control { .pay{ width: 86%; - height:211px; - line-height:211px; + height:174px; + line-height:174px; text-align:center; font-size:20px; color:white; } .payment{ - height:70px; - line-height:70px; + height:50px; + line-height:50px; align:center; color:white; font-size:16px; @@ -158,7 +158,7 @@ select.form-control { } .long{ - width:49%; + width:43%; } .sold { @@ -244,7 +244,7 @@ select.form-control { } .bottom{ - margin-bottom: 1px; + margin-bottom:1px; } /* Discount */ diff --git a/app/views/origami/jcb/index.html.erb b/app/views/origami/jcb/index.html.erb index ae77fa15..b65686c4 100755 --- a/app/views/origami/jcb/index.html.erb +++ b/app/views/origami/jcb/index.html.erb @@ -1,101 +1,107 @@ -