gemercheung 1 anno fa
parent
commit
ee95be9af8
1 ha cambiato i file con 8 aggiunte e 5 eliminazioni
  1. 8 5
      src/components/Viewer.jsx

+ 8 - 5
src/components/Viewer.jsx

@@ -501,7 +501,7 @@ class ViewerInner extends Component {
             background-color: rgba(17, 17, 34, 0.6);
             height: 4px;
             z-index: 9;
-            visibility: hidden;
+            // visibility: hidden;
           `}
         >
           <div
@@ -519,9 +519,9 @@ class ViewerInner extends Component {
                 left: 0;
                 bottom: 0;
                 z-index: 10;
-                background-color: rgba(120, 120, 163, 0.33);
+                background-color: hsla(0, 0%, 79.2%, 0.5);
               `}
-              ref={this.preProcessingRef}
+              ref={this.processingRef}
             ></div>
             <div
               css={css`
@@ -531,9 +531,12 @@ class ViewerInner extends Component {
                 left: 0;
                 bottom: 0;
                 z-index: 10;
-                background-color: hsla(0, 0%, 79.2%, 0.5);
+                margin-left: -1px;
+                border-radius: 1px;
+                transform: translate3D(-1px, 0, 0);
+                background-color: rgba(120, 120, 163, 0.33);
               `}
-              ref={this.processingRef}
+              ref={this.preProcessingRef}
             ></div>
           </div>