From 3da52b6b9e58cf1418bfaafc9bea08c14cb2b37e Mon Sep 17 00:00:00 2001 From: Aigars Silkalns Date: Tue, 11 Aug 2026 12:57:30 +0300 Subject: [PATCH 1/2] Centre the submenu "has children" arrow on its row The right-pointing arrow on a second-level menu item sat well below the label it belongs to, near the bottom edge of the row. It is drawn by .dropdown:after, whose base rule centres the glyph with top: 0; line-height: 53px; 53px is the height of the 55px top-level menu bar, where that rule was designed to work. A submenu row is 32px (6px padding + 20px line-height + 6px), so the inherited line box put the glyph centre 27.5px down a 32px row -- 11.5px below the label's own centre at 16px. Measured in the browser before and after: before line-height 53px, top 1px -> glyph 27.5px vs label 16px after line-height 32px, top 0 -> glyph 16px vs label 16px Anchored to the link row via line-height rather than top: 50% + translateY, because this li also contains its child