1
0
mirror of synced 2024-11-23 22:41:01 +01:00

Adjust qr code rendering

This commit is contained in:
shiibe 2023-10-03 14:20:51 -04:00
parent 03e835ae71
commit bc6f65f4a0
2 changed files with 7 additions and 3 deletions

View File

@ -2,14 +2,13 @@
@using System.Collections.Immutable
@inject IGameDataService GameDataService
<MudDialog>
<MudDialog Class="dialog-user-qr-code">
<DialogContent>
<MudExtensions.MudBarcode
Value="@qrCode"
BarcodeFormat="ZXing.BarcodeFormat.QR_CODE"
Height="300"
Width="300"
StrokeWidth="0.1" />
Width="300" />
</DialogContent>
<DialogActions>
<MudButton Color="Color.Primary" OnClick="Submit">Ok</MudButton>

View File

@ -44,6 +44,11 @@
display: none;
}
.dialog-user-qr-code svg {
/* makes the qr code render with no subpixels */
transform: scale(1.1);
}
@media only screen and (min-width: 600px) {
.ai-battle-td {
display: revert;