Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292626

Missing padding from 2nd level child items display

$
0
0

Problem/Motivation

In the experimental navigation menu, 2nd level sub-menu items have a visually uneven appearance due to padding added to the block-end, but not the block-start.

Steps to reproduce

Install Drupal
Activate navigation experimental module
Open top-level menu item that has children
Open child item with children to see issue

Proposed resolution

Having the padding at the bottom is great, so I propose replicating that same padding on the top of the item UL.

In toolbar-menu.css:

.toolbar-menu--level-2 {
  padding-block-start: var(--admin-toolbar-space-12);
...
...

Remaining tasks

Verify
Agree
Fix

User interface changes

Minor padding issue on child items display of children (see the images - it makes sense really)

Introduced terminology

---

API changes

---

Data model changes

---

Release notes snippet


Viewing all articles
Browse latest Browse all 292626

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>