Bläddra i källkod

fixing gallery height

tags/0.9.0
J 6 år sedan
förälder
incheckning
caef113c8a
1 ändrade filer med 7 tillägg och 3 borttagningar
  1. 7
    3
      vue-theme/src/components/gallery.vue

+ 7
- 3
vue-theme/src/components/gallery.vue Visa fil

@@ -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

Laddar…
Avbryt
Spara