Commit 49e9fd05 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Changed the way to truncate the panel to title from ruby to a scss mixin

parent 967019f7
......@@ -425,6 +425,10 @@ table {
}
.str-truncated {
&-30 {
@include str-truncated(30%);
}
&-60 {
@include str-truncated(60%);
}
......
.panel.panel-default
.panel-heading
Members with access to
%strong= @project.name
%span.str-truncated-30
Members of
%strong
#{@project.name}
%span.badge= @project_members.total_count
= form_tag namespace_project_settings_members_path(@project.namespace, @project), method: :get, class: 'form-inline member-search-form' do
.form-group
......
---
title: Improved UX on project members settings view
merge_request:
author:
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