Parcourir la source

選單固定修正

jeter20131220 il y a 3 ans
Parent
commit
a1d6bd38dc
4 fichiers modifiés avec 3 ajouts et 5 suppressions
  1. 0 1
      about/about.css
  2. 0 0
      about/about.css.map
  3. 0 1
      about/about.scss
  4. 3 3
      about/goto2.js

+ 0 - 1
about/about.css

@@ -407,7 +407,6 @@ body .arrow:hover {
 
 @media screen and (max-width: 767px) {
   #banner #banner-container ul {
-    margin-top: 5vw;
     width: 100vw;
   }
 }

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
about/about.css.map


+ 0 - 1
about/about.scss

@@ -313,7 +313,6 @@ body {
                 margin-bottom: 10px;
             }
             @media screen and(max-width:$moblie) {
-                margin-top: 5vw;
                width: 100vw;
             }
             .nav-item {

+ 3 - 3
about/goto2.js

@@ -34,7 +34,7 @@ function get_data() {
                     // const limit = res;
                     // 公司簡介
                     aboutContent += ' \
-                <div class="row px-0 mx-0">\
+                    <div class="row px-0 mx-0">\
                     <div class="condition col-12 col-lg-4 bg-white">\
                         <h1 class="fs-3 pb-3"><span style="color:#8DC21F" class="fw-bold fs-2">|</span>接案條件 condition</h1>\
                         <table class="table">\
@@ -141,7 +141,7 @@ function get_data() {
                             </tbody>\
                         </table>\
                     </div>\
-                </div >';
+                    </div >';
 
                     aboutInt += ' \
                         <div class="banner-des row vertical align-items-end">\
@@ -353,7 +353,7 @@ if (jQuery(window).width() < 767) {
         var y = window.scrollY;
 
         if (y > 550) {
-            $(".nav").css({ "position": "fixed", "top": "38px", "z-index": "10" });
+            $(".nav").css({ "position": "fixed", "top": "75px", "z-index": "10" });
         } else {
             $(".nav").css({ "position": "static" });
         }

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff