diff --git a/app/controllers/qr_codes_controller.rb b/app/controllers/qr_codes_controller.rb index aa8ca8334..a49809876 100644 --- a/app/controllers/qr_codes_controller.rb +++ b/app/controllers/qr_codes_controller.rb @@ -6,7 +6,7 @@ class QrCodesController < ApplicationController qr_code_svg = RQRCode::QRCode .new(QrCodeLink.from_signed(params[:id]).url) - .as_svg(viewbox: true, fill: :white, color: :black) + .as_svg(viewbox: true, fill: :white, color: :black, offset: 16) render svg: qr_code_svg end