Commit 129e3217 authored by Bryce Johnson's avatar Bryce Johnson Committed by Clement Ho

Normalize styles for empty-state group-level new issue/MR combo button

parent 3955dcb4
......@@ -288,11 +288,7 @@
display: flex;
max-width: 350px;
overflow: hidden;
@media(max-width: $screen-xs-max) {
width: 100%;
max-width: none;
}
float: right;
.new-project-item-link {
white-space: nowrap;
......@@ -305,6 +301,23 @@
}
}
.empty-state .project-item-select-holder.btn-group {
float: none;
display: inline-block;
.btn {
// overrides styles applied to plain `.empty-state .btn`
margin: 10px 0;
max-width: 300px;
width: auto;
@media(max-width: $screen-xs-max) {
max-width: 250px;
}
}
}
.new-project-item-select-button .fa-caret-down {
margin-left: 2px;
}
......
- if any_projects?(@projects)
.project-item-select-holder.btn-group.pull-right
.project-item-select-holder.btn-group
%a.btn.btn-new.new-project-item-link{ href: '', data: { label: local_assigns[:label], type: local_assigns[:type] } }
= icon('spinner spin')
= project_select_tag :project_path, class: "project-item-select", data: { include_groups: local_assigns[:include_groups], order_by: 'last_activity_at', relative_path: local_assigns[:path] }, with_feature_enabled: local_assigns[:with_feature_enabled]
......
---
title: Normalize styles for empty state combo button
merge_request:
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