SSH key ellipsis on mobile
This commit is contained in:
parent
0f237dd8fa
commit
2c760487be
|
@ -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;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
%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
|
||||
|
|
Loading…
Reference in New Issue