From 2447519c9e5ee2bbf6d06193673942988c60ad76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Niendorf?= <38037172+aniendorf@users.noreply.github.com> Date: Tue, 19 Apr 2022 11:34:45 +0200 Subject: [PATCH] fix(placeholder): add css definition for double-a-teaser --- src/vue/components/EmbedPlaceholder/EmbedPlaceholder.vue | 4 ++-- .../EmbedPlaceholderPur/EmbedPlaceholderPur.vue | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/vue/components/EmbedPlaceholder/EmbedPlaceholder.vue b/src/vue/components/EmbedPlaceholder/EmbedPlaceholder.vue index 9e14098..eefc0c4 100644 --- a/src/vue/components/EmbedPlaceholder/EmbedPlaceholder.vue +++ b/src/vue/components/EmbedPlaceholder/EmbedPlaceholder.vue @@ -139,11 +139,11 @@ export default Vue.extend({ } .a-teaser.embed-placeholder__container { - aspect-ratio: 16/9; + aspect-ratio: 16 / 9; } .bc.embed-placeholder__container { - aspect-ratio: 20/41; + aspect-ratio: 4.3875 / 9; } .embed-placeholder__header { diff --git a/src/vue/components/EmbedPlaceholderPur/EmbedPlaceholderPur.vue b/src/vue/components/EmbedPlaceholderPur/EmbedPlaceholderPur.vue index 6213d09..2070975 100644 --- a/src/vue/components/EmbedPlaceholderPur/EmbedPlaceholderPur.vue +++ b/src/vue/components/EmbedPlaceholderPur/EmbedPlaceholderPur.vue @@ -150,6 +150,11 @@ export default Vue.extend({ height: 48px; } +.double-a-teaser > .embed-placeholder__header--pur svg { + width: 48px; + height: 48px; +} + .embed-placeholder__description--pur { font-family: Gotham XNarrow, sans-serif; font-style: normal; @@ -172,6 +177,10 @@ export default Vue.extend({ .a-teaser > .embed-placeholder__header--pur { display: none; } + + .double-a-teaser > .embed-placeholder__header--pur { + display: none; + } } @media (min-width: 0) and (max-width: 600px) {