瀏覽代碼

fix(filmstrip): adjust filmstrip remote videos positioning

- For horizontal mode, remove extra spacing created by borders
  around local video and remote videos.
- For vertical mode, ensure remote videos grow only to fill the
  parent height.
j8
Leonard Kim 8 年之前
父節點
當前提交
1a87ee5f93
共有 2 個檔案被更改,包括 5 行新增6 行删除
  1. 4
    5
      css/_filmstrip.scss
  2. 1
    1
      css/_vertical_filmstrip_overrides.scss

+ 4
- 5
css/_filmstrip.scss 查看文件

@@ -51,10 +51,8 @@
51 51
         height:196px;
52 52
         padding: 0;
53 53
         /* The filmstrip should not be covered by the left toolbar. */
54
-        padding-left: $defaultToolbarSize + 5;
55 54
         bottom: 0;
56 55
         width:auto;
57
-        border: $thumbnailsBorder solid transparent;
58 56
         z-index: $filmstripVideosZ;
59 57
         transition: bottom 2s;
60 58
         overflow: visible !important;
@@ -62,9 +60,10 @@
62 60
         videos. */
63 61
         font-size: 0pt;
64 62
 
65
-        #filmstripLocalVideo {
66
-            padding-left: 0;
67
-        }
63
+        &#remoteVideos {
64
+            border: $thumbnailsBorder solid transparent;
65
+            padding-left: $defaultToolbarSize + 5;
66
+       }
68 67
 
69 68
         &.hidden {
70 69
             bottom: -196px;

+ 1
- 1
css/_vertical_filmstrip_overrides.scss 查看文件

@@ -70,7 +70,7 @@
70 70
 
71 71
         #remoteVideos {
72 72
             flex-direction: column-reverse;
73
-            height: 100%;
73
+            flex-grow: 1;
74 74
         }
75 75
 
76 76
         .videocontainer {

Loading…
取消
儲存