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 @@
}
}
.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;
......
%li.key-list-item
.pull-left.append-right-10
= icon 'key', class: "key-icon"
.pull-left
= icon 'key', class: "key-icon hidden-xs"
.key-list-item-info
= link_to path_to_key(key, is_admin), class: "title" do
= key.title
.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