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
Jérome Perrin
gitlab-ce
Commits
f5e3db5f
Commit
f5e3db5f
authored
Jul 07, 2017
by
Phil Hughes
Committed by
Annabel Dunstone Gray
Jul 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed text overflow issue in new sidebars
parent
5f996e8c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
app/assets/stylesheets/new_sidebar.scss
app/assets/stylesheets/new_sidebar.scss
+6
-0
app/views/layouts/nav/_new_group_sidebar.html.haml
app/views/layouts/nav/_new_group_sidebar.html.haml
+1
-1
app/views/layouts/nav/_new_project_sidebar.html.haml
app/views/layouts/nav/_new_project_sidebar.html.haml
+1
-1
No files found.
app/assets/stylesheets/new_sidebar.scss
View file @
f5e3db5f
...
...
@@ -31,6 +31,12 @@ $new-sidebar-width: 220px;
&
:hover
{
background-color
:
$border-color
;
}
.project-title
,
.group-title
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
}
.settings-avatar
{
...
...
app/views/layouts/nav/_new_group_sidebar.html.haml
View file @
f5e3db5f
.nav-sidebar
=
link_to
group_path
(
@group
),
title:
'Group'
,
class:
'context-header'
do
=
link_to
group_path
(
@group
),
title:
@group
.
name
,
class:
'context-header'
do
.avatar-container.s40.group-avatar
=
image_tag
group_icon
(
@group
),
class:
"avatar s40 avatar-tile"
.group-title
...
...
app/views/layouts/nav/_new_project_sidebar.html.haml
View file @
f5e3db5f
.nav-sidebar
-
can_edit
=
can?
(
current_user
,
:admin_project
,
@project
)
=
link_to
project_path
(
@project
),
title:
'Project'
,
class:
'context-header'
do
=
link_to
project_path
(
@project
),
title:
@project
.
name
,
class:
'context-header'
do
.avatar-container.s40.project-avatar
=
project_icon
(
@project
,
alt:
@project
.
name
,
class:
'avatar s40 avatar-tile'
)
.project-title
...
...
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