diff options
author | silverwind <me@silverwind.io> | 2019-06-14 03:32:14 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-06-14 09:32:13 +0800 |
commit | 9ce4d89e9922cc87bdb13d122339ae165a080c3d (patch) | |
tree | 3391c41124b5ee12ae9b1076ef147d48b0429124 /public/less | |
parent | 2f39fc7bb6a17b4637b723026a2e18dafd1a0adb (diff) | |
download | gitea-9ce4d89e9922cc87bdb13d122339ae165a080c3d.tar.gz gitea-9ce4d89e9922cc87bdb13d122339ae165a080c3d.zip |
UI: Fix overflow issues in repo (#7190)
- Fix layout overflow in repo file list.
- Fix invisible status icon in file view and commit list. In file view,
the icon was moved to the left because I could not figure out a proper
fix because of HTML tables.
- Added title attribute to commit messages.
- Fixed two CSS linter warnings in existing CSS.
- Fixed CI variable check in 'make css'.
Fixes: https://github.com/go-gitea/gitea/issues/7180
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_repository.less | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less index 71062bfa0e..acf8d7b870 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -2219,6 +2219,19 @@ tbody.commit-list { vertical-align: baseline; } +.commit-list .message-wrapper { + overflow: hidden; + text-overflow: ellipsis; + max-width: calc(100% - 24px); + display: inline-block; + vertical-align: middle; +} + +.commit-list .message-wrapper .commit-status-link { + display: inline-block; + vertical-align: middle; +} + .commit-body { white-space: pre-wrap; } |