#2287 Truncate repository name if too long

This commit is contained in:
Unknwon 2016-01-11 20:41:43 +08:00
parent a2ef9a2b64
commit f43cc90841
12 changed files with 89 additions and 33 deletions

View file

@ -3057,6 +3057,18 @@ footer .container .links > *:first-child {
margin-right: 6px;
color: #888;
}
.feeds .list .repo-owner-name-list .item-name {
max-width: 70%;
margin-bottom: -4px;
}
.feeds .list #collaborative-repo-list .owner-and-repo {
max-width: 80%;
margin-bottom: -5px;
}
.feeds .list #collaborative-repo-list .owner-name {
max-width: 120px;
margin-bottom: -5px;
}
.admin {
padding-top: 15px;
padding-bottom: 80px;
@ -3117,6 +3129,9 @@ footer .container .links > *:first-child {
font-size: 1.5rem;
padding-bottom: 10px;
}
.ui.repository.list .item .ui.header .name {
word-break: break-all;
}
.ui.repository.list .item .ui.header .metas {
color: #888;
font-size: 13px;

View file

@ -123,5 +123,23 @@
}
}
}
.repo-owner-name-list {
.item-name {
max-width: 70%;
margin-bottom: -4px;
}
}
#collaborative-repo-list {
.owner-and-repo {
max-width: 80%;
margin-bottom: -5px;
}
.owner-name {
max-width: 120px;
margin-bottom: -5px;
}
}
}
}

View file

@ -15,6 +15,11 @@
.ui.header {
font-size: 1.5rem;
padding-bottom: 10px;
.name {
word-break: break-all;
}
.metas {
color: #888;
font-size: 13px;