fixup! Scroll wallets QR
This commit is contained in:
@@ -17,12 +17,15 @@
|
|||||||
margin-block-end: 0;
|
margin-block-end: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
{% if g.is_mobile %}
|
.qr img {
|
||||||
.qr img { width: 100%; }
|
width: 100%;
|
||||||
|
max-width: 13.66rem;
|
||||||
|
}
|
||||||
.blocks.qr {
|
.blocks.qr {
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
width: calc(100vw - 1rem);
|
width: calc(100vw - 1rem);
|
||||||
|
max-width: 45rem;
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
scroll-snap-type: x mandatory;
|
scroll-snap-type: x mandatory;
|
||||||
}
|
}
|
||||||
@@ -34,9 +37,6 @@
|
|||||||
scroll-snap-align: start;
|
scroll-snap-align: start;
|
||||||
max-width: 16rem;
|
max-width: 16rem;
|
||||||
}
|
}
|
||||||
{% else %}
|
|
||||||
.qr img { width: 13.66rem; /* (x + 1) * 3 + 1 = 45 */ }
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
.qr p {
|
.qr p {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user