Przeglądaj źródła

:art: altering how embed iframes position

tags/0.9.0
J 4 lat temu
rodzic
commit
cd1dc67756
1 zmienionych plików z 2 dodań i 7 usunięć
  1. 2
    7
      vue-theme/src/pages/single.vue

+ 2
- 7
vue-theme/src/pages/single.vue Wyświetl plik

@@ -255,7 +255,7 @@ export default {
255 255
             /* change to a 1/3 width of the article*/
256 256
             img.feature
257 257
                 width: 20em 
258
-            li
258
+
259 259
         /* wp-block-embed youtube link */
260 260
         .wp-block-embed, .is-type-video
261 261
             position: relative
@@ -275,18 +275,13 @@ export default {
275 275
         /* iframe container 16:9 */
276 276
         .iframe-container 
277 277
             padding-bottom: 56.25% 
278
-
279 278
         /* iframe container portrait */
280 279
         .iframe-container-v
281 280
             height: 100%
282 281
             padding-bottom: 125%
283
-            
284 282
         iframe 
285
-            position: absolute 
286
-            top: 0px 
287
-            left: 0px 
288 283
             width: 100% 
289
-            height: 100%
284
+
290 285
         /* separator styles */
291 286
         * hr
292 287
             margin: $ms-2 auto

Ładowanie…
Anuluj
Zapisz