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

[web] fix navbar button hover color (#18241)

GitOrigin-RevId: c4a415d7b5ea9757044df69bdbf49e75d00a0c46
Domagoj Kriskovic 2 лет назад
Родитель
Сommit
24cdfdf92f

+ 1 - 1
services/web/frontend/js/features/editor-navigation-toolbar/components/back-to-editor-button.tsx

@@ -10,7 +10,7 @@ function BackToEditorButton({ onClick }: { onClick: () => void }) {
       bsSize="sm"
       bsStyle={null}
       onClick={onClick}
-      className="back-to-editor-btn btn-secondary"
+      className="back-to-editor-btn"
     >
       <MaterialIcon type="arrow_back" className="toolbar-btn-secondary-icon" />
       <p className="toolbar-label">{t('back_to_editor')}</p>

+ 2 - 1
services/web/frontend/stylesheets/app/editor/toolbar.less

@@ -22,7 +22,7 @@
 
   .toolbar-right,
   .toolbar-left {
-    button:not(.back-to-editor-btn) {
+    button {
       background: transparent;
       box-shadow: none;
     }
@@ -32,6 +32,7 @@
     margin-right: 27px;
     display: flex;
     align-items: center;
+    .btn-secondary;
 
     .toolbar-label {
       margin-bottom: 0;