From fac96ff5b91a4186ae68bb34902ac02b164a89a2 Mon Sep 17 00:00:00 2001
From: OF1706 <gexuhui@ofcard.com>
Date: Thu, 27 Apr 2017 18:19:07 +0800
Subject: [PATCH] autoMod

---
 public/js/header.js            | 4 ++++
 public/scss/common/_header.css | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/public/js/header.js b/public/js/header.js
index adb7328..f3c6ad3 100644
--- a/public/js/header.js
+++ b/public/js/header.js
@@ -989,6 +989,10 @@ function searchSuggestHistory() {
 $(function() {
     var windowWidth = document.documentElement.clientWidth;
 
+    if (windowWidth <= 1440) {
+        $('.code-down-box').hide();
+    }
+
     $(window).resize(function() {
         var innerWindowWidth = window.innerWidth;
 
diff --git a/public/scss/common/_header.css b/public/scss/common/_header.css
index cffcbd6..f3d71e9 100644
--- a/public/scss/common/_header.css
+++ b/public/scss/common/_header.css
@@ -1511,7 +1511,7 @@
     }
 }
 
-@media screen and (max-width: 1280px) {
+@media screen and (max-width: 1440px) {
     .code-down-box {
         display: none;
     }
--
libgit2 0.24.0