mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-19 14:23:44 +08:00
use tailwind
This commit is contained in:
parent
fa199e7e59
commit
2994945eb4
|
@ -2,7 +2,7 @@
|
|||
<div class="flex-text-inline">
|
||||
{{ctx.Locale.Tr .TitleKey}}
|
||||
{{range $i, $dependency := .Dependencies}}
|
||||
{{if gt $i 0}}<span class="gt-ml--2">, </span>{{end}}
|
||||
{{if gt $i 0}}<span class="-tw-ml-1">, </span>{{end}}
|
||||
{{template "shared/issue_link" $dependency.Issue}}
|
||||
{{end}}
|
||||
</div>
|
||||
|
|
|
@ -1 +1 @@
|
|||
<a href="{{.Link}}" class="{{if .IsClosed}}gt-line-through {{end}}gt-ml-2 ref-issue">#{{.Index}}</a>
|
||||
<a href="{{.Link}}" class="{{if .IsClosed}}tw-line-through {{end}}gt-ml-2 ref-issue">#{{.Index}}</a>
|
||||
|
|
|
@ -49,7 +49,6 @@ Gitea's private styles use `g-` prefix.
|
|||
/* below class names match Tailwind CSS */
|
||||
.gt-object-contain { object-fit: contain !important; }
|
||||
.gt-no-underline { text-decoration-line: none !important; }
|
||||
.gt-line-through { text-decoration-line: line-through !important; }
|
||||
.gt-normal-case { text-transform: none !important; }
|
||||
.gt-italic { font-style: italic !important; }
|
||||
|
||||
|
@ -103,7 +102,6 @@ Gitea's private styles use `g-` prefix.
|
|||
.gt-m-4 { margin: 1rem !important; }
|
||||
.gt-m-5 { margin: 2rem !important; }
|
||||
|
||||
.gt-ml--2 { margin-left: -.25rem !important; }
|
||||
.gt-ml-0 { margin-left: 0 !important; }
|
||||
.gt-ml-1 { margin-left: .125rem !important; }
|
||||
.gt-ml-2 { margin-left: .25rem !important; }
|
||||
|
|
Loading…
Reference in New Issue
Block a user