Package: libskinupload
Bug: The skin upload dialog overflows on smaller screens (mobile) due to fixed width and height values for form elements.
Changes I did for fix on mobile
Before:
local w = size.x / 2 - 1 local w2 = size.x / 2 - 1.5
After:
local w = math.min(size.x / 2 - 1, 6) -- Limit width to 6 local w2 = math.min(size.x / 2 - 1.5, 5) -- Limit preview width to 5
local formspec_height = size.y
local max_height = size.y - 3 -- Leave space for buttons local formspec_height = math.min(size.y, max_height) -- Ensure form fits on screen
Effect of Changes:
Bug: The skin upload dialog overflows on smaller screens (mobile) due to fixed width and height values for form elements.
Changes I did for fix on mobile
Before:
After:
Before:
After:
Effect of Changes: