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
Kazuhiko Shiozaki
gitlab-ce
Commits
2c760487
Commit
2c760487
authored
Mar 03, 2016
by
Phil Hughes
Committed by
Robert Speicher
Mar 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SSH key ellipsis on mobile
parent
0f237dd8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
app/assets/stylesheets/pages/profile.scss
app/assets/stylesheets/pages/profile.scss
+14
-0
app/views/profiles/keys/_key.html.haml
app/views/profiles/keys/_key.html.haml
+2
-2
No files found.
app/assets/stylesheets/pages/profile.scss
View file @
2c760487
...
@@ -146,6 +146,20 @@
...
@@ -146,6 +146,20 @@
}
}
}
}
.key-list-item
{
.key-list-item-info
{
@media
(
min-width
:
$screen-sm-min
)
{
float
:
left
;
}
}
.description
{
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
}
}
.key-icon
{
.key-icon
{
color
:
$ssh-key-icon-color
;
color
:
$ssh-key-icon-color
;
font-size
:
$ssh-key-icon-size
;
font-size
:
$ssh-key-icon-size
;
...
...
app/views/profiles/keys/_key.html.haml
View file @
2c760487
%li
.key-list-item
%li
.key-list-item
.pull-left.append-right-10
.pull-left.append-right-10
=
icon
'key'
,
class:
"key-icon"
=
icon
'key'
,
class:
"key-icon
hidden-xs
"
.
pull-left
.
key-list-item-info
=
link_to
path_to_key
(
key
,
is_admin
),
class:
"title"
do
=
link_to
path_to_key
(
key
,
is_admin
),
class:
"title"
do
=
key
.
title
=
key
.
title
.description
.description
...
...
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