Commit 6e99ed5d authored by Filipa Lacerda's avatar Filipa Lacerda

Fixes stylelint for page_title.scss

Replaces CSS with BS4 Utility classes
parent 7457c1e1
.page-title-holder {
@extend .d-flex;
@extend .align-items-center;
border-bottom: 1px solid $border-color;
.page-title {
......
.page-title-holder
.page-title-holder.d-flex.align-items-center
%h1.page-title= _('Activity')
.top-area
......
.page-title-holder
.page-title-holder.d-flex.align-items-center
%h1.page-title= _('Groups')
- if current_user.can_create_group?
......
= content_for :flash_message do
= render 'shared/project_limit'
.page-title-holder
.page-title-holder.d-flex.align-items-center
%h1.page-title= _('Projects')
- if current_user.can_create_project?
......
.page-title-holder
.page-title-holder.d-flex.align-items-center
%h1.page-title= _('Snippets')
- if current_user && current_user.snippets.any? || @snippets.any?
......
......@@ -6,7 +6,7 @@
= render_dashboard_gold_trial(current_user)
.page-title-holder
.page-title-holder.d-flex.align-items-center
%h1.page-title= _('Issues')
- if current_user
......
......@@ -4,7 +4,7 @@
= render_dashboard_gold_trial(current_user)
.page-title-holder
.page-title-holder.d-flex.align-items-center
%h1.page-title= _('Merge Requests')
- if current_user
......
......@@ -2,7 +2,7 @@
- page_title 'Milestones'
- header_title 'Milestones', dashboard_milestones_path
.page-title-holder
.page-title-holder.d-flex.align-items-center
%h1.page-title= _('Milestones')
- if current_user
......
......@@ -4,7 +4,7 @@
= render_dashboard_gold_trial(current_user)
.page-title-holder
.page-title-holder.d-flex.align-items-center
%h1.page-title= _('Todos')
- if current_user.todos.any?
......
......@@ -3,7 +3,7 @@
- page_title _('New Group')
- header_title _("Groups"), dashboard_groups_path
.page-title-holder
.page-title-holder.d-flex.align-items-center
%h1.page-title= _('New group')
.row.prepend-top-default
.col-lg-3.profile-settings-sidebar
......
......@@ -2,7 +2,7 @@
- @hide_breadcrumbs = true
- page_title _("New Snippet")
.page-title-holder
.page-title-holder.d-flex.align-items-center
%h1.page-title= _('New Snippet')
.prepend-top-default
......
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