- Qr code re-adjustment

fix ui break in second display
This commit is contained in:
aungthetkhaing
2025-05-28 10:06:17 +06:30
parent e088954769
commit 3049b6c549
3 changed files with 3 additions and 3 deletions

View File

@@ -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
)

View File

@@ -131,7 +131,7 @@ class KbzMerchant
timeout: 15
)
puts "Response: #{response}"
Rails.logger.info "Response: #{response}"
JSON.parse(response.body)
rescue HTTParty::Error => e
{

View File

@@ -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">