Răsfoiți Sursa

Merge pull request #3131 from overleaf/pr-fix-context-menu-placement-folders

Fix ellipsis icon placement in folders

GitOrigin-RevId: 4004ed43c8dd138e8f774d660e712bc7076e8b62
Timothée Alby 6 ani în urmă
părinte
comite
750a20491d

+ 5 - 7
services/web/frontend/stylesheets/app/editor/file-tree.less

@@ -150,19 +150,18 @@
         display: flex;
         align-items: center;
         color: #fff;
-        white-space: pre;
-        line-height: 6px;
+        line-height: 1.6;
         font-size: 20px;
-        height: 100%;
-        padding: 0 12px 0 18px;
+        padding: 0 4px 0 18px;
 
         &:hover,
         &:focus {
           text-decoration: none;
         }
         &::before {
-          content: '\00B7\A\00B7\A\00B7';
-          margin-top: -4px;
+          content: '\00B7\00B7\00B7';
+          transform: rotate(90deg);
+          letter-spacing: 0.5px;
         }
       }
 
@@ -252,7 +251,6 @@
 
           .entity-menu-toggle {
             display: inline-block;
-            height: 100%;
           }
         }
       }