浏览代码

fix(presence-label): set position for small video presence label only

j8
Leonard Kim 6 年前
父节点
当前提交
2cd1b7f80b
共有 2 个文件被更改,包括 5 次插入2 次删除
  1. 0
    2
      css/_videolayout_default.scss
  2. 5
    0
      css/filmstrip/_small_video.scss

+ 0
- 2
css/_videolayout_default.scss 查看文件

748
     margin: 0 auto;
748
     margin: 0 auto;
749
     overflow: hidden;
749
     overflow: hidden;
750
     pointer-events: none;
750
     pointer-events: none;
751
-    position: absolute;
752
     right: 0;
751
     right: 0;
753
     text-align: center;
752
     text-align: center;
754
     text-overflow: ellipsis;
753
     text-overflow: ellipsis;
755
     top: calc(50% + 30px);
754
     top: calc(50% + 30px);
756
     white-space: nowrap;
755
     white-space: nowrap;
757
     width: 100%;
756
     width: 100%;
758
-    z-index: $zindex3;
759
 }
757
 }

+ 5
- 0
css/filmstrip/_small_video.scss 查看文件

48
         object-fit: cover;
48
         object-fit: cover;
49
         overflow: hidden;
49
         overflow: hidden;
50
     }
50
     }
51
+
52
+    .presence-label {
53
+        position: absolute;
54
+        z-index: $zindex3;
55
+    }
51
 }
56
 }

正在加载...
取消
保存