summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
author6543 <24977596+6543@users.noreply.github.com>2019-07-29 04:27:05 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2019-07-29 10:27:05 +0800
commit31a1fe175f022078fa2894112b9526c426b76ba5 (patch)
tree0f1e80123b4467d323e3930101d74b823fee2953 /public
parenta19138c1d340ee0b4de7afb68b695ed3f2c858bf (diff)
downloadgitea-31a1fe175f022078fa2894112b9526c426b76ba5.tar.gz
gitea-31a1fe175f022078fa2894112b9526c426b76ba5.zip
[Branch View] add download button (#7604)
* add download-button info message * add overflow-visible css for table colum class * right colum is always there * add download button for default branch * add download button for all other branchs * resize table colum so two buttons fit in * code indent avter rebase * show commit divergence corect https://github.com/go-gitea/gitea/issues/7625 * changes because of merge master into ... * optimize if statement for protected branches * dont downloat a deleted branch - fix error 404
Diffstat (limited to 'public')
-rw-r--r--public/css/index.css1
-rw-r--r--public/less/_explore.less3
2 files changed, 4 insertions, 0 deletions
diff --git a/public/css/index.css b/public/css/index.css
index 96dfcb0e8b..68236a6de9 100644
--- a/public/css/index.css
+++ b/public/css/index.css
@@ -985,6 +985,7 @@ tbody.commit-list{vertical-align:baseline}
.ui.repository.list .item .ui.avatar.image{width:24px;height:24px}
.ui.repository.branches .info{font-size:12px;color:grey;display:flex;white-space:pre}
.ui.repository.branches .info .commit-message{max-width:72em;overflow:hidden;text-overflow:ellipsis}
+.ui.repository.branches .overflow-visible{overflow:visible}
.ui.user.list .item{padding-bottom:25px}
.ui.user.list .item:not(:first-child){border-top:1px solid #eee;padding-top:25px}
.ui.user.list .item .ui.avatar.image{width:40px;height:40px}
diff --git a/public/less/_explore.less b/public/less/_explore.less
index 11dacb7285..ad9adc70e0 100644
--- a/public/less/_explore.less
+++ b/public/less/_explore.less
@@ -73,6 +73,9 @@
text-overflow: ellipsis;
}
}
+ .overflow-visible {
+ overflow: visible;
+ }
}
.ui.user.list {