Увеличить QR в lightbox до ~560px

This commit is contained in:
Sergey Antropoff
2026-07-23 09:11:14 +03:00
parent 56ef543e9a
commit a3516f67f1
2 changed files with 6 additions and 6 deletions
@@ -278,7 +278,7 @@
} }
.lightbox-panel { .lightbox-panel {
position: relative; position: relative;
max-width: min(92vw, 420px); max-width: min(94vw, 640px);
width: 100%; width: 100%;
padding: 1.25rem 1.25rem 1rem; padding: 1.25rem 1.25rem 1rem;
background: var(--bg-card); background: var(--bg-card);
@@ -294,12 +294,12 @@
} }
.lightbox-panel img { .lightbox-panel img {
width: 100%; width: 100%;
max-width: 320px; max-width: 560px;
height: auto; height: auto;
aspect-ratio: 1; aspect-ratio: 1;
background: #fff; background: #fff;
border-radius: 12px; border-radius: 12px;
padding: 0.75rem; padding: 1rem;
image-rendering: pixelated; image-rendering: pixelated;
} }
.lightbox-caption { .lightbox-caption {
@@ -209,7 +209,7 @@
} }
.lightbox-panel { .lightbox-panel {
position: relative; position: relative;
max-width: min(92vw, 420px); max-width: min(94vw, 640px);
width: 100%; width: 100%;
padding: 1.25rem 1.25rem 1rem; padding: 1.25rem 1.25rem 1rem;
background: var(--bg-card); background: var(--bg-card);
@@ -225,12 +225,12 @@
} }
.lightbox-panel img { .lightbox-panel img {
width: 100%; width: 100%;
max-width: 320px; max-width: 560px;
height: auto; height: auto;
aspect-ratio: 1; aspect-ratio: 1;
background: #fff; background: #fff;
border-radius: 12px; border-radius: 12px;
padding: 0.75rem; padding: 1rem;
image-rendering: pixelated; image-rendering: pixelated;
} }
.lightbox-caption { .lightbox-caption {