-
Notifications
You must be signed in to change notification settings - Fork 816
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
修复 移动端 的 登录页面[sysauth] 因可拖动导致显示出模糊层以外的溢出区域,修复后该页面将不可拖动
-重做footer自动隐藏,修复在浏览器刷新时,且窗口高度过小时,footer不会自动隐藏 -将 登录页面[sysauth] 中 主机名[brand-text] 的文本长度从原先的最长3行 改为 2行 -同时调整footer自动隐藏的窗口高度为<600,避免出现footer与其他元素重叠
- Loading branch information
1 parent
b0c99af
commit 7eb29a1
Showing
3 changed files
with
11 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,25 +59,13 @@ | |
</div> | ||
</div> | ||
<script> | ||
// thanks for Jo-Philipp Wich <[email protected]> | ||
var winHeight = $(window).height(); | ||
$(window).resize(function () { | ||
if($(document.body).height() < 525 ){ | ||
if($(".ftc").css('display') != 'none'){ | ||
$(".ftc").hide() | ||
} | ||
}else{ | ||
if($(".ftc").css('display') == 'none'){ | ||
$(".ftc").show() | ||
} | ||
} | ||
}) | ||
</script> | ||
|
||
<script> | ||
if (window.orientation == 90 || window.orientation == -90) { | ||
$(".ftc").hide() | ||
} | ||
window.addEventListener('resize', function() { | ||
if (window.innerHeight < 600) { | ||
document.getElementsByClassName("ftc")[0].style.display = "none"; | ||
} else { | ||
document.getElementsByClassName("ftc")[0].style.display = "block"; | ||
} | ||
}) | ||
</script> | ||
|
||
<script src="<%=media%>/js/styles-argon.js<%# ?v=PKG_VERSION %>"></script> | ||
|