summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-03 08:47:44 +0000
committerRobert Speicher <rspeicher@gmail.com>2016-03-03 16:13:56 -0500
commit2c760487be653a3cc4f9214a72d9c9149147263e (patch)
tree479b187145ddb3631bf05fe7fd2c9fab5d739226 /app/assets
parent0f237dd8fa842941dd51419dbd8095f3a6f2cb5e (diff)
downloadgitlab-ce-2c760487be653a3cc4f9214a72d9c9149147263e.tar.gz
SSH key ellipsis on mobile
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/pages/profile.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/profile.scss b/app/assets/stylesheets/pages/profile.scss
index 877a7c90a57..4826b994e37 100644
--- a/app/assets/stylesheets/pages/profile.scss
+++ b/app/assets/stylesheets/pages/profile.scss
@@ -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 {
color: $ssh-key-icon-color;
font-size: $ssh-key-icon-size;