Main menu first item should have 0 left margin only on the first level

Created on 5 October 2020, over 3 years ago
Updated 8 November 2023, 8 months ago

Problem/Motivation

First items in main menu on the second level get margin-left: 0 when they should not.

Steps to reproduce

Add a submenu to any item in the main menu.

Proposed resolution

--- a/web/themes/contrib/estore/css/styles.css
+++ b/web/themes/contrib/estore/css/styles.css
@@ -9262,7 +9262,7 @@ header.navbar .main-menu ul.menu li {
   }
 }

-header.navbar .main-menu ul.menu li:first-child {
+header.navbar .main-menu > ul.menu > li:first-child {
   margin-left: 0;
 }
✨ Feature request
Status

Fixed

Version

1.15

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine int_ua

Live updates comments and jobs are added and updated live.
  • CSS

    It involves the content or handling of Cascading Style Sheets.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024