Skip to content

Commit

Permalink
Update js.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Mar 18, 2024
1 parent ae1b90b commit e1ce897
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions trunk/web/template/syzoj/js.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
let left=window.innerWidth-parseInt($("#menu").css("width")) - 100;
left/=2;
$("#menu").attr("style","margin-left:auto;margin-right:auto;");
var screen_width = window.screen.width;
var screen_height = window.screen.height;
if(screen_width < 800) $("#main").attr("class","");
if(screen_width < 800) $("#MainBg-C").attr("class","");


});
Expand Down

0 comments on commit e1ce897

Please sign in to comment.