浏览代码

ref(css): use var for desktop drag area margin (#4104)

master
virtuacoplenny 6 年前
父节点
当前提交
17627291e8
没有帐户链接到提交者的电子邮件
共有 3 个文件被更改,包括 4 次插入3 次删除
  1. 2
    2
      css/_chat.scss
  2. 1
    0
      css/_variables.scss
  3. 1
    1
      css/filmstrip/_vertical_filmstrip.scss

+ 2
- 2
css/_chat.scss 查看文件

@@ -42,7 +42,7 @@
42 42
     flex: 1;
43 43
     font-size: 10pt;
44 44
     line-height: 20px;
45
-    margin-top: 30px;
45
+    margin-top: $desktopAppDragBarHeight + 5px;
46 46
     overflow: auto;
47 47
     padding: 5px;
48 48
     text-align: left;
@@ -104,7 +104,7 @@
104 104
     position: absolute;
105 105
     right: 5px;
106 106
     text-align: center;
107
-    top: 25px;
107
+    top: $desktopAppDragBarHeight;
108 108
     width: 10px;
109 109
     z-index: 1;
110 110
 }

+ 1
- 0
css/_variables.scss 查看文件

@@ -90,6 +90,7 @@ $defaultWatermarkLink: '../images/watermark.png';
90 90
 $sidebarWidth: 220px;
91 91
 $popoverMenuPadding: 13px;
92 92
 $happySoftwareBackground: transparent;
93
+$desktopAppDragBarHeight: 25px;
93 94
 
94 95
 /**
95 96
  * Z-indexes. TODO: Replace this by a function.

+ 1
- 1
css/filmstrip/_vertical_filmstrip.scss 查看文件

@@ -25,7 +25,7 @@
25 25
     display: flex;
26 26
     flex-direction: column-reverse;
27 27
     height: 100%;
28
-    padding: 20px 5px 10px;
28
+    padding: ($desktopAppDragBarHeight - 5px) 5px 10px;
29 29
     /**
30 30
      * fixed positioning is necessary for remote menus and tooltips to pop
31 31
      * out of the scrolling filmstrip. AtlasKit dialogs and tooltips use

正在加载...
取消
保存