Browse Source

added some forward and backward buttons to gallery

tags/0.9.0
J 6 years ago
parent
commit
a4b4efc580
1 changed files with 7 additions and 5 deletions
  1. 7
    5
      vue-theme/src/components/gallery.vue

+ 7
- 5
vue-theme/src/components/gallery.vue View File

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

Loading…
Cancel
Save