소스 검색

fixing gallery height

tags/0.9.0
J 6 년 전
부모
커밋
caef113c8a
1개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  1. 7
    3
      vue-theme/src/components/gallery.vue

+ 7
- 3
vue-theme/src/components/gallery.vue 파일 보기

@@ -23,14 +23,18 @@ export default {
23 23
 
24 24
 <style lang="postcss">
25 25
 .gallery
26
-    position: absolute
26
+    position: fixed
27 27
     top: 0
28 28
     left: 0
29
-    width: 100vw
30
-    height: 100%
29
+    width: 100%
30
+    height: 100vw
31 31
     background-color: blue
32 32
     opacity: 75%
33 33
     z-index: 1001
34
+    > *
35
+        opacity: 100%
36
+        position: relative
37
+        z-index: 1011
34 38
     ul
35 39
         list-style: none
36 40
         li

Loading…
취소
저장