فهرست منبع

Fix wrong flex direction for non-video cards

Zed 6 سال پیش
والد
کامیت
a01265fa48
2فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 1 1
      src/sass/tweet/card.scss
  2. 4 0
      src/sass/tweet/video.scss

+ 1 - 1
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 {

+ 4 - 0
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;