Commit 47a688d6 by Takatoshi Miura

1.4.0_miura_#44143 RFID(バーコード)の読み込み表示位置を調整

parent 8906697b
......@@ -20191,7 +20191,7 @@ button {
text-align: -webkit-center;
border-radius: 15px;
z-index: 1032;
height: calc(50vh);
height: auto;
width: 60%;
position: absolute;
top: calc(5vh);
......
......@@ -3058,6 +3058,12 @@ CHK.startScan = function() {
}
$(".scan-overlay").removeClass("d-none");
$(".scan-area").removeClass("d-none");
var positionY = $(document).scrollTop() + screen.height/8;
var height = screen.height/4;
$(".scan-area").css("top", positionY);
$(".scan-area").css("min-height", height);
$("body").css("overflow", "hidden");
}
CHK.scanClose = function() {
......@@ -3072,6 +3078,7 @@ CHK.scanClose = function() {
}
$(".scan-overlay").addClass("d-none");
$(".scan-area").addClass("d-none");
$("body").css("overflow", "visible");
}
document.addEventListener('visibilitychange', () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment