Skip to content

Commit

Permalink
Merge pull request #1240 from UN-OCHA/berliner/HPC-9950
Browse files Browse the repository at this point in the history
HPC-9950: Don't break inside sections of the GHO mega menu
  • Loading branch information
berliner authored Dec 2, 2024
2 parents ed2e43d + 28b6fcb commit ded7dfc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Override some stuff from gho-aside specifically for Facts and Figures.
*/
.gho-facts-and-figures.gho-aside .gho-aside__title {
.gho-facts-and-figures.gho-aside .gho-aside__title {
margin-bottom: 1.25rem;
}

Expand Down
2 changes: 1 addition & 1 deletion html/themes/custom/common_design_subtheme/css/styles.css

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@
}
}
}

&.mega-menu--gho-menu details.vertical-tabs__pane > ul > li {
break-inside: avoid-column;
}
}
}
}
Expand Down

0 comments on commit ded7dfc

Please sign in to comment.