Fix tag display on video watch
authorChocobozzz <florian.bigard@gmail.com>
Fri, 27 Oct 2017 07:37:45 +0000 (09:37 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Fri, 27 Oct 2017 07:40:34 +0000 (09:40 +0200)
client/src/app/videos/+video-watch/video-watch.component.scss

index 69661747c2ccbdb82aa613779bc98481b378af42..01ceab3c590c712f2b42c78e99e0f5f0876ce1fd 100644 (file)
@@ -33,8 +33,9 @@
   .video-name-views {
     font-weight: bold;
     font-size: 18px;
-    height: $video-watch-title-height;
-    line-height: $video-watch-title-height;
+    min-height: $video-watch-title-height;
+    display: flex;
+    align-items: center;
 
     .video-name {
       padding-left: $video-watch-info-padding-left;
       font-weight: bold;
       font-size: 12px;
 
-      .video-details-attribute-label {
-        color: $video-watch-info-color;
-        display: inline-block;
-        width: 60px;
-        margin-right: 5px;
+      .video-details-attribute {
+        display: flex;
+
+        .video-details-attribute-label {
+          color: $video-watch-info-color;
+          flex-basis: 60px;
+          flex-grow: 0;
+          flex-shrink: 0;
+          margin-right: 5px;
+        }
       }
     }
 
     .video-details-tags {
-      display: inline-block;
+      display: flex;
+      flex-wrap: wrap;
 
       a {
-        display: inline-block;
-        margin-right: 3px;
+        margin: 0 3px 3px 0;
         font-size: 11px;
       }
     }