From afda0062f52857d037d6e0b77f193903a5d936a3 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 12 Sep 2018 19:00:29 +0200 Subject: [PATCH] Navbar: Padding for items --- src/templates/menus/user_base.pug | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/templates/menus/user_base.pug b/src/templates/menus/user_base.pug index 3cbebd77..79695ac6 100644 --- a/src/templates/menus/user_base.pug +++ b/src/templates/menus/user_base.pug @@ -13,29 +13,29 @@ li.dropdown | {% if not current_user.has_role('protected') %} | {% block menu_list %} li - a.navbar-item( - href="{{ url_for('projects.home_project') }}" - title="Home") + a.navbar-item.px-2( + href="{{ url_for('projects.home_project') }}" + title="Home") | #[i.pi-home] Home li - a.navbar-item( - href="{{ url_for('projects.index') }}" - title="My Projects") + a.navbar-item.px-2( + href="{{ url_for('projects.index') }}" + title="My Projects") | #[i.pi-star] My Projects | {% if current_user.has_organizations() %} li - a.navbar-item( - href="{{ url_for('pillar.web.organizations.index') }}" - title="My Organizations") + a.navbar-item.px-2( + href="{{ url_for('pillar.web.organizations.index') }}" + title="My Organizations") | #[i.pi-users] My Organizations | {% endif %} li - a.navbar-item( - href="{{ url_for('settings.profile') }}" - title="Settings") + a.navbar-item.px-2( + href="{{ url_for('settings.profile') }}" + title="Settings") | #[i.pi-cog] Settings | {% endblock menu_list %} @@ -45,11 +45,11 @@ li.dropdown li a.navbar-item( - href="{{ url_for('users.logout') }}") + href="{{ url_for('users.logout') }}") i.pi-log-out(title="Log Out") | Log out - a.navbar-item.subitem( - href="{{ url_for('users.switch') }}") + a.navbar-item.subitem.pt-0( + href="{{ url_for('users.switch') }}") i.pi-blank | Not {{ current_user.full_name }}?