Commit af4531c8 authored by Alexander Turinske's avatar Alexander Turinske

Un-nest sidebar under .context-header div in sec

- nesting added unnecessary styling to rest of sidebar
  instead of just for header
parent 9c62516d
......@@ -6,18 +6,18 @@
= brand_header_logo
.sidebar-context-title
= _('Security')
%ul.sidebar-top-level-items
= nav_link(path: %w[dashboard#show]) do
= link_to security_root_path, class: 'shortcuts-project rspec-project-link' do
.nav-icon-container
= sprite_icon('dashboard')
%span.nav-item-name
= _('Security Dashboard')
= nav_link(path: %w[dashboard#settings]) do
= link_to security_settings_dashboard_path, class: 'shortcuts-project rspec-project-link' do
.nav-icon-container
= sprite_icon('settings')
%span.nav-item-name
= _('Settings')
%ul.sidebar-top-level-items
= nav_link(path: %w[dashboard#show]) do
= link_to security_root_path, class: 'shortcuts-project rspec-project-link' do
.nav-icon-container
= sprite_icon('dashboard')
%span.nav-item-name
= _('Security Dashboard')
= nav_link(path: %w[dashboard#settings]) do
= link_to security_settings_dashboard_path, class: 'shortcuts-project rspec-project-link' do
.nav-icon-container
= sprite_icon('settings')
%span.nav-item-name
= _('Settings')
= render 'shared/sidebar_toggle_button'
---
title: Un-nest sidebar under .context-header div in security navigation
merge_request: 41176
author:
type: fixed
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