Commit 2c760487 authored by Phil Hughes's avatar Phil Hughes Committed by Robert Speicher

SSH key ellipsis on mobile

parent 0f237dd8
...@@ -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;
......
%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
......
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