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 {
|
.key-icon {
|
||||||
color: $ssh-key-icon-color;
|
color: $ssh-key-icon-color;
|
||||||
font-size: $ssh-key-icon-size;
|
font-size: $ssh-key-icon-size;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
%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
|
||||||
|
|
Loading…
Reference in New Issue