Skip to content

Commit 05a2348

Browse files
committed
fix(windows): allow qr box to grow to edge of default
Allow QR box to grow if the caption box is bigger than the english text. Still limit this to 130px if it grows further than this then add a vertical scroll for the caption. In testing no language actually causes the scroll bar to be displayed. However using dummy text to test the overflow shows that it will handle this should the translation ever reach this length.
1 parent 593efb3 commit 05a2348

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

windows/src/desktop/kmshell/xml/config.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ th
11361136
position: fixed;
11371137
display: none;
11381138
width: 256px;
1139-
height: 324px;
1139+
height: auto;
11401140
margin: -180px 0 0 -128px;
11411141
left: 50%;
11421142
top: 50%;
@@ -1149,6 +1149,8 @@ th
11491149

11501150
.qrcode .qrcode_caption {
11511151
display: block;
1152+
max-height: 130px;
1153+
overflow-y: auto;
11521154
white-space: normal;
11531155
font-size: 12pt;
11541156
padding: 8px;

0 commit comments

Comments
 (0)