Przeglądaj źródła

fixing gallery height

tags/0.9.0
J 6 lat temu
rodzic
commit
caef113c8a
1 zmienionych plików z 7 dodań i 3 usunięć
  1. 7
    3
      vue-theme/src/components/gallery.vue

+ 7
- 3
vue-theme/src/components/gallery.vue Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz