Skip to content

Commit 43b615f

Browse files
Minor aesthetic improvements.
1 parent 7f20d3c commit 43b615f

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

TFACGUI.BlazorWebApp/Pages/Home.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
</div>
6363

64-
<div class="qr-scanner">
64+
<div class="qr-scanner @(scanning ? string.Empty : "qr-scanner-height-correction")">
6565

6666
<QRCodeScanner LoadingMessage=""
6767
OutputMessage="No QR code detected"

TFACGUI.BlazorWebApp/Pages/UserData.razor

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -378,10 +378,6 @@
378378
}
379379
while (!CheckEncryptionKeyStrength(key));
380380

381-
#if DEBUG
382-
Console.WriteLine($"Generated password: {key}");
383-
#endif
384-
385381
await JS.InvokeVoidAsync(Constants.InteropFunctionNames.SET_INPUT_VALUE, Constants.ElementIds.EXPORT_PW, key);
386382
await JS.InvokeVoidAsync(Constants.InteropFunctionNames.SET_INPUT_VALUE, Constants.ElementIds.EXPORT_PW_CONFIRMATION, key);
387383

TFACGUI.BlazorWebApp/wwwroot/css/app.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,10 @@ code {
293293
display: flex;
294294
justify-content: center;
295295
}
296+
297+
.qr-scanner-height-correction {
298+
margin-top: -12px;
299+
}
296300

297301
.toast {
298302
width: 96%;

0 commit comments

Comments
 (0)