Skip to content

Commit

Permalink
Roo supposedly fixed the QR code overlap on mobile browsers; let's se…
Browse files Browse the repository at this point in the history
…e whether it works.
  • Loading branch information
ksze committed Feb 11, 2025
1 parent 216295e commit 3324444
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@
<head>
<meta charset="utf-8">
<title>PeerAuth</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
@media (max-width: 767px) {
.qr-column {
flex: 0 0 100%;
max-width: 100%;
}
}
</style>
<style>
.language-switcher {
position: absolute;
Expand Down Expand Up @@ -56,17 +65,15 @@ <h2 data-i18n="whatIsThis">What is this?</h2>
<button id="generateBtn" class="btn btn-primary mb-4" disabled data-i18n="generate">Generate</button>

<div id="qrSection" style="display: none;">
<div class="row">
<div class="col-sm-3"></div>
<div class="col-sm-3 gy-5">
<div class="row justify-content-center gx-0">
<div class="col-12 col-md-3 gy-5 text-center qr-column">
<p><span id="label1"></span><span data-i18n="pleaseScan">, please scan the QR code below:</span></p>
<div id="qrcode1"></div>
<div id="qrcode1" class="d-flex justify-content-center"></div>
</div>
<div class="col-sm-3 gy-5">
<div class="col-12 col-md-3 gy-5 text-center qr-column">
<p><span id="label2"></span><span data-i18n="pleaseScan">, please scan the QR code below:</span></p>
<div id="qrcode2"></div>
<div id="qrcode2" class="d-flex justify-content-center"></div>
</div>
<div class="col-sm-3"></div>
</div>

<div class="mt-4">
Expand Down

0 comments on commit 3324444

Please sign in to comment.