Selaa lähdekoodia

added some forward and backward buttons to gallery

tags/0.9.0
J 6 vuotta sitten
vanhempi
commit
a4b4efc580
1 muutettua tiedostoa jossa 7 lisäystä ja 5 poistoa
  1. 7
    5
      vue-theme/src/components/gallery.vue

+ 7
- 5
vue-theme/src/components/gallery.vue Näytä tiedosto

@@ -1,11 +1,14 @@
1 1
 <template lang="pug">
2
-.gallery(v-if="fullscreengallery")
2
+.gallery.f-col.center(v-if="fullscreengallery")
3
+    button(@click="hideGallery") hide
3 4
     ul
4 5
         li
5 6
             h1 hello world
6 7
         li
7 8
             h1 hello world again
8
-    button(@click="hideGallery") hide
9
+    .controls.f-row
10
+        button(@click="hideGallery") <<<
11
+        button(@click="hideGallery") >>>
9 12
 </template>
10 13
 
11 14
 <script>
@@ -37,7 +40,6 @@ export default {
37 40
         z-index: 1011
38 41
     ul
39 42
         list-style: none
40
-        li
41
-            h1
42
-                color: green
43
+        h1
44
+            color: green
43 45
 </style>

Loading…
Peruuta
Tallenna