Fix desktop submenu position and stacking, taller homepage images
Build and Deploy (dev) / build (push) Successful in 4m42s

- Submenu hover bridge now matches the menu item height (was a fixed
  30px), so the dropdown opens below the menu instead of over it
- Give .menu-submenu z-index 100 so it covers the category pills and
  media overlays
- Small homepage news images use a 16:9 aspect ratio on desktop, so they
  grow with the column width (min-height 140px stays)
- Rename Gruntfile.js to Gruntfile.cjs: package.json has type=module,
  which broke the grunt build

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
eric.busandClaude Opus 5.5 committed 2026-11-20 23:38:55 +01:00
1 parent e48e8978b6
commit 179413aef5
11 files changed
+27 -9

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@
$('.menu-submenu > ul.submenu').slideUp(400, function(){$(this).closest('.menu-submenu').remove()});
$('.hover', $container).removeClass('hover');
$menuItem.addClass('hover');
var submenu = $('<div style="width: ' + $menuItem.outerWidth() + 'px"><a href="' + $menuItem.find('a').attr('href') + '" style="width: ' + $menuItem.outerWidth() + 'px"></a></div>').append($menuItem.children('ul.submenu').clone());
var submenu = $('<div style="width: ' + $menuItem.outerWidth() + 'px"><a href="' + $menuItem.find('a').attr('href') + '" style="width: ' + $menuItem.outerWidth() + 'px; height: ' + $menuItem.outerHeight() + 'px"></a></div>').append($menuItem.children('ul.submenu').clone());
var pos = $menuItem.offset();
submenu.addClass('menu-submenu').css({top: pos.top, left: pos.left});
submenu.on( "mouseleave", function() {
+5
View File
@@ -61,6 +61,11 @@
&.small {
height: 50%;
@media (min-width: 769px) {
> a:first-child {
aspect-ratio: 16 / 9;
}
}
}
.slider_content_box {
+4
View File
@@ -216,6 +216,10 @@
}
}
.menu-submenu {
z-index: 100;
}
.menu-submenu, .mobile_menu_container {
position: absolute;