Commit 0e7472e2 authored by Brandon Labuschagne's avatar Brandon Labuschagne

Merge branch 'dmishunov-nav-semantics' into 'master'

Used spans instead of divs within links

See merge request gitlab-org/gitlab!59822
parents f2a0e6db 605229ae
= nav_link(**sidebar_menu.all_active_routes, html_options: sidebar_menu.nav_link_html_options) do
= link_to sidebar_menu.link, **sidebar_menu.container_html_options, data: { qa_selector: 'sidebar_menu_link', qa_menu_item: sidebar_menu.title } do
- if sidebar_menu.icon_or_image?
.nav-icon-container
%span.nav-icon-container
- if sidebar_menu.image_path
= image_tag(sidebar_menu.image_path, **sidebar_menu.image_html_options)
- elsif sidebar_menu.sprite_icon
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment