Skip to content

Commit

Permalink
Merge pull request #176 from ConductionNL/feature/NDT-46/navigation
Browse files Browse the repository at this point in the history
feature/NDT-46/navigation
  • Loading branch information
remko48 authored Dec 19, 2023
2 parents ba89daa + 894bda1 commit f76740f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- **Version 2.2 (breaking changes from 2.1.x)**

- 2.2.43: Updated DownloadCard to allow size as string.
- 2.2.42:
- Updated PrimaryTopNav to have seperate dropdown tokens.
- Updated Pagination to include border-bottom.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@conduction/components",
"version": "2.2.42",
"version": "2.2.43",
"description": "React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/downloadCard/DownloadCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const DownloadCard = ({

<div>
({_.toUpper(type)}
{size && `, ${size}kB`})
{size && `, ${size}`})
</div>
</div>

Expand Down
4 changes: 4 additions & 0 deletions src/components/topNav/primaryTopNav/PrimaryTopNav.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@
box-shadow: var(--conduction-primary-top-nav-dropdown-current-box-shadow, var(--conduction-primary-top-nav-current-box-shadow));
}

.dropdownCurrent:hover {
box-shadow: var(--conduction-primary-top-nav-dropdown-current-box-shadow) !important;
}

.dropdownCurrent:hover > .dropdownCurrentLink {
color: var(--conduction-primary-top-nav-dropdown-hover-color, var(--conduction-primary-top-nav-hover-color)) !important;
}
Expand Down

0 comments on commit f76740f

Please sign in to comment.