chore(ui): improvements to tag label display (#9251)
ref #9231 Removed the conditional inclusion of the `primary` class as this one is unneeded after the use of the dedicated class Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9251 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: pat-s <patrick.schratz@gmail.com> Co-committed-by: pat-s <patrick.schratz@gmail.com>
This commit is contained in:
parent
4e1d4caf98
commit
204ab32f82
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
<a class="ui label basic tw-p-1 primary{{if .IsRelease}} primary{{end}}" href="{{.RepoLink}}/src/tag/{{.TagName|PathEscape}}">
|
||||
<a class="ui label basic tag-label tw-p-1" href="{{.RepoLink}}/src/tag/{{.TagName|PathEscape}}">
|
||||
{{svg "octicon-tag"}} {{.TagName}}
|
||||
</a>
|
||||
|
|
|
@ -125,3 +125,11 @@
|
|||
.repository.new.release .markup {
|
||||
min-height: 240px;
|
||||
}
|
||||
|
||||
.ui.label.basic.tag-label {
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
a.ui.label.basic.tag-label:hover {
|
||||
border-color: var(--color-primary-dark-1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue