Adjust qr code rendering
This commit is contained in:
parent
03e835ae71
commit
bc6f65f4a0
@ -2,14 +2,13 @@
|
|||||||
@using System.Collections.Immutable
|
@using System.Collections.Immutable
|
||||||
@inject IGameDataService GameDataService
|
@inject IGameDataService GameDataService
|
||||||
|
|
||||||
<MudDialog>
|
<MudDialog Class="dialog-user-qr-code">
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<MudExtensions.MudBarcode
|
<MudExtensions.MudBarcode
|
||||||
Value="@qrCode"
|
Value="@qrCode"
|
||||||
BarcodeFormat="ZXing.BarcodeFormat.QR_CODE"
|
BarcodeFormat="ZXing.BarcodeFormat.QR_CODE"
|
||||||
Height="300"
|
Height="300"
|
||||||
Width="300"
|
Width="300" />
|
||||||
StrokeWidth="0.1" />
|
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
<MudButton Color="Color.Primary" OnClick="Submit">Ok</MudButton>
|
<MudButton Color="Color.Primary" OnClick="Submit">Ok</MudButton>
|
||||||
|
@ -44,6 +44,11 @@
|
|||||||
display: none;
|
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) {
|
@media only screen and (min-width: 600px) {
|
||||||
.ai-battle-td {
|
.ai-battle-td {
|
||||||
display: revert;
|
display: revert;
|
||||||
|
Loading…
Reference in New Issue
Block a user