ソースを参照

adjust tint z-index and hero & embedded min-height

tags/0.9.0
Alej 4年前
コミット
a9a0fc9a4f
1個のファイルの変更5行の追加3行の削除
  1. 5
    3
      vue-theme/src/components/hero.vue

+ 5
- 3
vue-theme/src/components/hero.vue ファイルの表示

@@ -1,6 +1,7 @@
1 1
 <template lang="pug">
2 2
 .hero.w-max.f-col(v-if="showHero")
3
-    .tint.z-top.w-max
3
+    //- .tint.z-top.w-max
4
+    .tint.w-max
4 5
     .hero--video.w-max(v-if="heroType === 'video'")
5 6
         iframe(
6 7
             v-if="isPlaying"
@@ -96,6 +97,7 @@ export default {
96 97
         position: absolute
97 98
         height: 100%
98 99
         background-color: #00000055
100
+        z-index: 0
99 101
 
100 102
     &--image
101 103
         &--overlay
@@ -153,8 +155,8 @@ export default {
153 155
             border-width: 1.5em 0 1.5em 2.5em
154 156
 
155 157
     .hero 
156
-        min-height: 70vh
158
+        min-height: 50vh
157 159
         .embedded
158
-            min-height: 70vh
160
+            min-height: 50vh
159 161
     
160 162
 </style>

読み込み中…
キャンセル
保存