Просмотр исходного кода

Merge pull request #7862 from overleaf/ab-home-button-style

[web] Make the home button more consistent with the rest of the header

GitOrigin-RevId: 456727917fd61423ca2b41eedb79d9861675d2cb
Alexandre Bourdin 4 лет назад
Родитель
Сommit
fe18fbe157

+ 9 - 3
services/web/frontend/js/features/editor-navigation-toolbar/components/back-to-projects-button.js

@@ -14,9 +14,15 @@ function BackToProjectsButton() {
         </Tooltip>
         </Tooltip>
       }
       }
     >
     >
-      <a className="toolbar-header-back-projects" href="/project">
-        <Icon type="home" fw accessibilityLabel={t('back_to_your_projects')} />
-      </a>
+      <div className="toolbar-item">
+        <a className="btn btn-full-height" href="/project">
+          <Icon
+            type="home"
+            fw
+            accessibilityLabel={t('back_to_your_projects')}
+          />
+        </a>
+      </div>
     </OverlayTrigger>
     </OverlayTrigger>
   )
   )
 }
 }