Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VOL-248/match the bg colour of the dashbaoard to the side nav bar #261

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions web/src/components/Dashboard/SideBarTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ type SideBarTabProps = {
};

const SideBarTab: React.FC<SideBarTabProps> = ({ unselected, selected, tabName, selectedTab, setSelectedTab, switchPage }) => {
const baseTabStyle = "flex flex-row gap-2 items-center hover:no-underline w-[190px] h-[84px] transition-all duration-[400] bg-primary mask-tab my-[-5px]"
const baseTabStyle = "flex flex-row gap-2 items-center hover:no-underline w-[190px] h-[84px] transition-all duration-[400] mask-tab my-[-3px]"

return (
<button className={selectedTab === tabName ? baseTabStyle + " bg-white text-primary" : baseTabStyle + " hover:bg-[#ffffff40] text-white"} onClick={() => {
<button className={selectedTab === tabName ? baseTabStyle + " bg-[#F7F7FB] text-primary" : baseTabStyle + " bg-primary hover:bg-[#ffffff40] text-white"} onClick={() => {
setSelectedTab(tabName)
switchPage()}}>
<div className="w-auto h-auto">
Expand Down
Loading