Skip to content
Snippets Groups Projects
Commit 343e37b8 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray Committed by Phil Hughes
Browse files

Center all empty states

parent f6d82455
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -312,7 +312,7 @@
}
 
.empty-state {
margin: 100px 0 0;
margin: 5% auto 0;
 
.text-content {
max-width: 460px;
Loading
Loading
@@ -335,27 +335,12 @@
}
 
.btn {
margin: $btn-side-margin $btn-side-margin 0 0;
}
@media(max-width: $screen-xs-max) {
margin-top: 50px;
text-align: center;
margin: $btn-side-margin 5px;
 
.btn {
@media(max-width: $screen-xs-max) {
width: 100%;
}
}
@media(min-width: $screen-xs-max) {
&.merge-requests .text-content {
margin-top: 40px;
}
&.labels .text-content {
margin-top: 70px;
}
}
}
 
.flex-container-block {
Loading
Loading
Loading
Loading
@@ -8,10 +8,6 @@
white-space: nowrap;
}
 
.empty-state {
margin: 5% auto 0;
}
.table-holder {
width: 100%;
 
Loading
Loading
Loading
Loading
@@ -3,10 +3,10 @@
- has_button = button_path || project_select_button
 
.row.empty-state
.pull-right.col-xs-12{ class: "#{'col-sm-6' if has_button}" }
.col-xs-12
.svg-content
= render 'shared/empty_states/icons/issues.svg'
.col-xs-12{ class: "#{'col-sm-6' if has_button}" }
.col-xs-12.text-center
.text-content
- if has_button && current_user
%h4
Loading
Loading
.row.empty-state.labels
.pull-right.col-xs-12.col-sm-6
.col-xs-12
.svg-content
= render 'shared/empty_states/icons/labels.svg'
.col-xs-12.col-sm-6
.col-xs-12.text-center
.text-content
%h4 Labels can be applied to issues and merge requests to categorize them.
%p You can also star a label to make it a priority label.
Loading
Loading
Loading
Loading
@@ -3,10 +3,10 @@
- has_button = button_path || project_select_button
 
.row.empty-state.merge-requests
.col-xs-12{ class: "#{'col-sm-6 pull-right' if has_button}" }
.col-xs-12
.svg-content
= render 'shared/empty_states/icons/merge_requests.svg'
.col-xs-12{ class: "#{'col-sm-6' if has_button}" }
.col-xs-12.text-center
.text-content
- if has_button
%h4
Loading
Loading
---
title: Center all empty states
merge_request:
author:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment