Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
49e9fd05
Commit
49e9fd05
authored
Jan 23, 2017
by
Jose Ivan Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the way to truncate the panel to title from ruby to a scss mixin
parent
967019f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
app/assets/stylesheets/framework/common.scss
app/assets/stylesheets/framework/common.scss
+4
-0
app/views/projects/project_members/_team.html.haml
app/views/projects/project_members/_team.html.haml
+4
-2
changelogs/unreleased/26883-members-page-layout-looks-broken.yml
...ogs/unreleased/26883-members-page-layout-looks-broken.yml
+4
-0
No files found.
app/assets/stylesheets/framework/common.scss
View file @
49e9fd05
...
@@ -425,6 +425,10 @@ table {
...
@@ -425,6 +425,10 @@ table {
}
}
.str-truncated
{
.str-truncated
{
&
-30
{
@include
str-truncated
(
30%
);
}
&
-60
{
&
-60
{
@include
str-truncated
(
60%
);
@include
str-truncated
(
60%
);
}
}
...
...
app/views/projects/project_members/_team.html.haml
View file @
49e9fd05
.panel.panel-default
.panel.panel-default
.panel-heading
.panel-heading
Members with access to
%span
.str-truncated-30
%strong
=
@project
.
name
Members of
%strong
#{
@project
.
name
}
%span
.badge
=
@project_members
.
total_count
%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_tag
namespace_project_settings_members_path
(
@project
.
namespace
,
@project
),
method: :get
,
class:
'form-inline member-search-form'
do
.form-group
.form-group
...
...
changelogs/unreleased/26883-members-page-layout-looks-broken.yml
0 → 100644
View file @
49e9fd05
---
title
:
Improved UX on project members settings view
merge_request
:
author
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment