Fixes
- Qr code re-adjustment fix ui break in second display
This commit is contained in:
@@ -199,7 +199,7 @@ class Foodcourt::QrpayController < BaseFoodcourtController
|
||||
@qr_svg = qrcode.as_svg(
|
||||
color: "000",
|
||||
shape_rendering: "crispEdges",
|
||||
module_size: 2,
|
||||
module_size: 3,
|
||||
standalone: true,
|
||||
use_path: true
|
||||
)
|
||||
|
||||
@@ -131,7 +131,7 @@ class KbzMerchant
|
||||
timeout: 15
|
||||
)
|
||||
|
||||
puts "Response: #{response}"
|
||||
Rails.logger.info "Response: #{response}"
|
||||
JSON.parse(response.body)
|
||||
rescue HTTParty::Error => e
|
||||
{
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
<p class="text-muted">Use your mobile wallet app</p>
|
||||
</div>
|
||||
|
||||
<div id="qr-payment-container" class="mx-auto text-center p-3 bg-white rounded border" style="max-width: 300px;">
|
||||
<div id="qr-payment-container" class="mx-auto text-center p-3 bg-white rounded border" style="max-width: 400px;">
|
||||
<!-- Added mx-auto to center this block within its col-6 parent -->
|
||||
<div id="qr-code" class="mb-2">
|
||||
<div id="qrpay_svg">
|
||||
|
||||
Reference in New Issue
Block a user