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

unrolled sidebar partway implemented

Justin Rhee 3 лет назад
Родитель
Сommit
bf910e5e2d

+ 2 - 2
dashboard/src/main/home/sidebar/ClusterSection.tsx

@@ -256,8 +256,8 @@ const SideLine = styled.div`
   position: absolute;
   left: 34px;
   width: 1px;
-  top: 3px;
-  height: calc(100% - 14px);
+  top: 5px;
+  height: calc(100% - 12px);
   background: #383A3F;
 `;
 

+ 2 - 2
dashboard/src/main/home/sidebar/Sidebar.tsx

@@ -146,7 +146,7 @@ class Sidebar extends Component<PropsType, StateType> {
 
           {this.context.hasFinishedOnboarding && (
             <>
-              <SidebarLabel>Current Cluster</SidebarLabel>
+              <SidebarLabel>Clusters</SidebarLabel>
               <ClusterSection
                 setWelcome={this.props.setWelcome}
                 currentView={currentView}
@@ -275,7 +275,7 @@ const SidebarBg = styled.div`
 
 const SidebarLabel = styled.div`
   color: #ffffff99;
-  padding: 5px 16px;
+  padding: 5px 23px;
   margin-bottom: 5px;
   font-size: 14px;
   z-index: 1;