diff options
author | silverwind <me@silverwind.io> | 2020-11-29 07:22:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-29 01:22:04 -0500 |
commit | e00a3554279d314a4dab4ce11bdd86707201d0d2 (patch) | |
tree | faad207d4afb3921143d78a59b1465b068648049 /templates/repo/home.tmpl | |
parent | da4bb6fc4ef552865816303fc9c0db25509ff626 (diff) | |
download | gitea-e00a3554279d314a4dab4ce11bdd86707201d0d2.tar.gz gitea-e00a3554279d314a4dab4ce11bdd86707201d0d2.zip |
Dropdowns, Labels fixes and more CSS tweaks (#13733)
* Dropdowns and Labels fixes
- Rework dropdown, menu and label styles
- Improve issue sidebar milestone and label sections
- Fix archived repo and private org badge
- Move more colors to CSS vars
- Move issue number to end of title on issue page
* more dropdown fixes
* fix basic blue labels - fixes #13731
* improve class setting on svg
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/repo/home.tmpl')
-rw-r--r-- | templates/repo/home.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 73508bdd2f..98c5aa5738 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -23,12 +23,12 @@ </div> {{end}} </div> - <div class="ui" id="repo-topics"> - {{range .Topics}}<a class="ui repo-topic small label topic" href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}</a>{{end}} - {{if and .Permission.IsAdmin (not .Repository.IsArchived)}}<a id="manage_topic">{{.i18n.Tr "repo.topic.manage_topics"}}</a>{{end}} + <div class="mt-3" id="repo-topics"> + {{range .Topics}}<a class="ui repo-topic large label topic" href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}</a>{{end}} + {{if and .Permission.IsAdmin (not .Repository.IsArchived)}}<a id="manage_topic" class="muted">{{.i18n.Tr "repo.topic.manage_topics"}}</a>{{end}} </div> {{if and .Permission.IsAdmin (not .Repository.IsArchived)}} - <div class="ui repo-topic-edit grid form segment error" id="topic_edit" style="display:none"> + <div class="ui repo-topic-edit grid form" id="topic_edit" style="display:none"> <div class="fourteen wide column"> <div class="field"> <div class="ui fluid multiple search selection dropdown"> |