Skip to content

Commit

Permalink
fix: set profiles as default page
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekzyla committed Nov 30, 2022
1 parent 6d56473 commit e26b508
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/packages/manager/src/store/menu-header-contxt.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, {useState, createContext, useRef, useContext} from 'react';
const MenuHeaderContxt = createContext();

export function MenuHeaderContxtProvider(props){
const [activeTabId, setActiveTabId] = useState('Inventory');
const [activeTabId, setActiveTabId] = useState('Profiles');

const context = {
activeTabId: activeTabId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const StyledTab = styled(TabBar)`
margin: 0;
padding: 0;
}
& > button:focus {
outline: none;
box-shadow: none;
Expand All @@ -24,6 +25,7 @@ const StyledTab = styled(TabBar)`
& > button:nth-child(1){
margin-left: 20px;
}
& > button:nth-child(1) > div[class*='TabStyles__StyledLabel']{
width: 51px;
}
Expand Down Expand Up @@ -56,9 +58,11 @@ const StyledTab = styled(TabBar)`
bottom: 0;
width: 100%;
}
[aria-selected='true'] > div[class*='TabStyles__StyledUnderline']{
background-color: #5CC05C;
}
[aria-selected='true'] > div[class*='TabStyles__StyledLabel']{
color: #FFFFFF;
font-family: 'Proxima Nova Sbold';
Expand Down

0 comments on commit e26b508

Please sign in to comment.