Spaces:
Running
Running
Commit
·
bf72689
1
Parent(s):
34ad85b
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -96,7 +96,7 @@ start_cleaner = """async() => {
|
|
| 96 |
if (isMobile()) {
|
| 97 |
window.devicePixelRatio = 1;
|
| 98 |
const page1_width = page1.offsetWidth;
|
| 99 |
-
min_height = (clientHeight -
|
| 100 |
|
| 101 |
image_upload.setAttribute('style', 'width:' + (page1_width - 13*2) + 'px; min-height:' + min_height);
|
| 102 |
data_image.setAttribute('style', 'width: ' + (page1_width - 14*2) + 'px; min-height:' + min_height);
|
|
|
|
| 96 |
if (isMobile()) {
|
| 97 |
window.devicePixelRatio = 1;
|
| 98 |
const page1_width = page1.offsetWidth;
|
| 99 |
+
min_height = (clientHeight - 100) + 'px;';
|
| 100 |
|
| 101 |
image_upload.setAttribute('style', 'width:' + (page1_width - 13*2) + 'px; min-height:' + min_height);
|
| 102 |
data_image.setAttribute('style', 'width: ' + (page1_width - 14*2) + 'px; min-height:' + min_height);
|