Pārlūkot izejas kodu

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

master
virtuacoplenny 6 gadus atpakaļ
vecāks
revīzija
17627291e8
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
3 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt