aboutsummaryrefslogtreecommitdiff
path: root/public/ng
diff options
context:
space:
mode:
Diffstat (limited to 'public/ng')
-rw-r--r--public/ng/css/gogs.css3
-rw-r--r--public/ng/js/gogs.js2
-rw-r--r--public/ng/less/gogs/repository.less5
3 files changed, 9 insertions, 1 deletions
diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css
index aa5afaec..12ae89ed 100644
--- a/public/ng/css/gogs.css
+++ b/public/ng/css/gogs.css
@@ -1250,6 +1250,9 @@ The register and sign-in page style
color: #428BCA;
text-decoration: underline;
}
+#repo-files-table td.message .text-truncate {
+ max-width: 360px;
+}
#repo-files-table tbody {
background-color: #FFF;
}
diff --git a/public/ng/js/gogs.js b/public/ng/js/gogs.js
index ff38bda9..f0bb7633 100644
--- a/public/ng/js/gogs.js
+++ b/public/ng/js/gogs.js
@@ -608,7 +608,7 @@ function initTeamMembersList() {
$ul.toggleShow();
}
}).next().next().find('ul').on("click", 'li', function () {
- $('#org-team-members-add').val($(this).text());
+ $('#org-team-members-add').val($(this).find('.username').text());
$ul.toggleHide();
});
}
diff --git a/public/ng/less/gogs/repository.less b/public/ng/less/gogs/repository.less
index c06b016e..29178429 100644
--- a/public/ng/less/gogs/repository.less
+++ b/public/ng/less/gogs/repository.less
@@ -281,6 +281,11 @@
color: #428BCA;
text-decoration: underline;
}
+ td.message {
+ .text-truncate {
+ max-width: 360px;
+ }
+ }
tbody {
background-color: #FFF;
tr:hover {