Skip to content

Commit

Permalink
Merge pull request #356 from EBI-Metagenomics/Hotfix/Mega-Menu-Stylin…
Browse files Browse the repository at this point in the history
…g-II

Hotfix/mega menu styling ii
  • Loading branch information
MGS-sails committed Feb 14, 2024
2 parents 0a71f7b + 6a9f9c8 commit 05e61bf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mgportalv2",
"version": "2.1.2",
"version": "2.1.3",
"description": "Web Client for the Mgnify service at EBI",
"homepage": "https://github.com/EBI-Metagenomics/ebi-metagenomics-client#readme",
"main": "src/index.tsx",
Expand Down
5 changes: 5 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,9 @@ pre.vf-code-example__pre > button {
.eez-abbr {
cursor: help;
text-decoration: none;
}

#mgnify-mega-menu .vf-navigation__link:visited:hover {
color: #3b6fb6;
text-decoration: underline;
}
6 changes: 5 additions & 1 deletion src/components/Nav/MegaMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ const MegaMenu: React.FC = () => {

return (
<div onMouseLeave={handleMouseLeave}>
<div className="vf-global-header vf-mega-menu" role="menubar">
<div
id="mgnify-mega-menu"
className="vf-global-header vf-mega-menu"
role="menubar"
>
<nav className="vf-navigation | vf-cluster">
<ul className="vf-navigation__list | vf-list | vf-cluster__inner">
<li className="vf-navigation__item">
Expand Down

0 comments on commit 05e61bf

Please sign in to comment.