瀏覽代碼

change the position absolute to the position fixed on the responsive md, sm and xs

AlexiCauvin 7 年之前
父節點
當前提交
4a453dac2c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/css/Sidebar.styl

+ 2 - 2
src/css/Sidebar.styl 查看文件

156
 @media (min-width: min-sm) and (max-width: max-md)
156
 @media (min-width: min-sm) and (max-width: max-md)
157
 
157
 
158
   .sidebar
158
   .sidebar
159
-    position absolute
159
+    position fixed
160
 
160
 
161
 /***** MEDIA 576px and 767px *****/
161
 /***** MEDIA 576px and 767px *****/
162
 
162
 
173
     padding-top 69px
173
     padding-top 69px
174
 
174
 
175
   .sidebar
175
   .sidebar
176
-    position absolute
176
+    position fixed