Merge pull request #730 from mjaschen/fix/remove-text-artifacts-qrcode-error

Hide legend for QR Code size toggle when QR Code cannot be rendered
This commit is contained in:
Norbert Renner 2023-05-19 15:15:47 +02:00 committed by GitHub
commit 7acdd864f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -661,17 +661,12 @@
data-i18n="qrcode.msg-unknown-error" data-i18n="qrcode.msg-unknown-error"
> >
Cannot create QR Code: An unknown error occurred. See the browser console for details. Maybe Cannot create QR Code: An unknown error occurred. See the browser console for details. Maybe
the route definition is too long. Removing some waypoints may help fit all data into the the route definition is too long. Removing some waypoints may help fit all data into the QR
QRCode. Code.
</p> </p>
<div> <div id="qrcode-buttons">
<div class="pull-left mr-2"><small>QR Code Size:</small></div> <div class="mt-2"><small>QR Code Size:</small></div>
<div <div class="btn-group btn-group-xs" role="group" aria-label="Change size of QR Code">
id="qrcode-buttons"
class="btn-group btn-group-xs"
role="group"
aria-label="Change size of QR Code"
>
<button <button
class="btn btn-secondary qrcode-size-button" class="btn btn-secondary qrcode-size-button"
id="qrcode-create-small" id="qrcode-create-small"