diff --git a/src/main/twirl/gitbucket/core/repo/files.scala.html b/src/main/twirl/gitbucket/core/repo/files.scala.html
index d76d5fc..90219c8 100644
--- a/src/main/twirl/gitbucket/core/repo/files.scala.html
+++ b/src/main/twirl/gitbucket/core/repo/files.scala.html
@@ -143,7 +143,7 @@
}
-
+ |
@if(file.isDirectory){
@if(file.linkUrl.isDefined){
@@ -164,10 +164,10 @@
@file.name
}
|
-
- @helpers.link(file.message, repository)
+ |
+ @helpers.link(file.message, repository)
|
- @gitbucket.core.helper.html.datetimeago(file.time, false) |
+ @gitbucket.core.helper.html.datetimeago(file.time, false) |
}
diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css
index b9c738f..6d09e9e 100644
--- a/src/main/webapp/assets/common/css/gitbucket.css
+++ b/src/main/webapp/assets/common/css/gitbucket.css
@@ -174,12 +174,6 @@
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 @@
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;