Skip to content

Commit

Permalink
Merge pull request #232 from Pavan-Nambi/events_page_fix
Browse files Browse the repository at this point in the history
fix(events getting deselcted)
  • Loading branch information
PixeledCode authored Nov 29, 2023
2 parents ecacf58 + 782f18b commit 0681052
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@ yarn-error.log
.pnp.js
# Yarn Integrity file
.yarn-integrity

#Ignore asdf nodejs version management
.tool-versions
2 changes: 1 addition & 1 deletion src/components/Layout/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ const Navbar = ({ dark, overlay }) => {
<StyledLink
dark={dark?.toString()}
activeClassName="active-link"
partiallyActive={link.name === 'Work' || link.name === 'Team'}
partiallyActive={link.name === 'Work' || link.name === 'Team' || link.name === 'Events'}
to={link.path}
>
{link.name}
Expand Down
3 changes: 3 additions & 0 deletions src/pages/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ export const EventsContent = styled.div`
display: grid;
grid-template-rows: auto auto;
grid-template-columns: 1fr;
min-height: 90vh;
align-items: start;
align-content: start;
@media (min-width: 1024px) {
padding: 0;
Expand Down

0 comments on commit 0681052

Please sign in to comment.