Browse Source

:lipstick:

Vanessa 2 years ago
parent
commit
e9120599c2
2 changed files with 3 additions and 2 deletions
  1. 2 1
      app/src/assets/scss/protyle/_protyle.scss
  2. 1 1
      app/src/protyle/breadcrumb/index.ts

+ 2 - 1
app/src/assets/scss/protyle/_protyle.scss

@@ -107,7 +107,6 @@
   z-index: 1;
 
   &__space {
-    flex: 1;
     min-width: 8px;
     transition: var(--b3-transition);
     color: var(--b3-theme-on-surface);
@@ -122,6 +121,7 @@
     display: flex;
     transition: var(--b3-transition);
     overflow: auto;
+    flex: 1;
     min-height: 30px;
 
     &::-webkit-scrollbar {
@@ -154,6 +154,7 @@
     align-self: center;
     padding: 0 4px;
     font-size: 12px;
+    white-space: nowrap;
 
     &:hover {
       color: var(--b3-theme-on-background);

+ 1 - 1
app/src/protyle/breadcrumb/index.ts

@@ -70,7 +70,7 @@ export class Breadcrumb {
                             action: id === protyle.block.rootID ? [Constants.CB_GET_FOCUS] : [Constants.CB_GET_FOCUS, Constants.CB_GET_ALL]
                         });
                     } else {
-                        zoomOut({protyle, id, focusId: protyle.block.id});
+                        zoomOut({protyle, id});
                     }
                     /// #endif
                     event.preventDefault();