From a01265fa4808c826508abf01d74cf78f2172c738 Mon Sep 17 00:00:00 2001 From: Zed Date: Sat, 26 Oct 2019 15:53:59 +0200 Subject: [PATCH] Fix wrong flex direction for non-video cards --- src/sass/tweet/card.scss | 2 +- src/sass/tweet/video.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sass/tweet/card.scss b/src/sass/tweet/card.scss index 174f13a..c73394d 100644 --- a/src/sass/tweet/card.scss +++ b/src/sass/tweet/card.scss @@ -15,7 +15,7 @@ overflow: hidden; color: inherit; display: flex; - flex-direction: column; + flex-direction: row; text-decoration: none !important; &:hover { diff --git a/src/sass/tweet/video.scss b/src/sass/tweet/video.scss index 151404c..3439fe8 100644 --- a/src/sass/tweet/video.scss +++ b/src/sass/tweet/video.scss @@ -11,6 +11,10 @@ video { overflow: hidden; } +.gallery-video.card-container { + flex-direction: column; +} + .video-container { max-height: 530px; margin: 0;