mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-13 17:05:50 +01:00
(refs #1282) Fix text-ellipsis which does't work
This commit is contained in:
@@ -174,12 +174,6 @@ span.error {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.shorten-text {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
a.commit-message, a.commit-id, a.username, a.issue-comment-count {
|
||||
color: #333333;
|
||||
}
|
||||
@@ -299,6 +293,20 @@ th.box-header .octicon {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
td.ellipsis-cell {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
td.ellipsis-cell > * {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding-right: 5px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
img.avatar {
|
||||
border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
|
||||
Reference in New Issue
Block a user