From 2994945eb41c8a77c15349eead7b778abf9258b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Niclas=20Oelschl=C3=A4ger?= Date: Mon, 4 Mar 2024 22:48:16 +0100 Subject: [PATCH] use tailwind --- templates/shared/issue_dependency.tmpl | 2 +- templates/shared/issue_link.tmpl | 2 +- web_src/css/helpers.css | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/templates/shared/issue_dependency.tmpl b/templates/shared/issue_dependency.tmpl index 3eef63dd797..df57f83881d 100644 --- a/templates/shared/issue_dependency.tmpl +++ b/templates/shared/issue_dependency.tmpl @@ -2,7 +2,7 @@
{{ctx.Locale.Tr .TitleKey}} {{range $i, $dependency := .Dependencies}} - {{if gt $i 0}}, {{end}} + {{if gt $i 0}}, {{end}} {{template "shared/issue_link" $dependency.Issue}} {{end}}
diff --git a/templates/shared/issue_link.tmpl b/templates/shared/issue_link.tmpl index 01e333a8f16..b3f7528a1f8 100644 --- a/templates/shared/issue_link.tmpl +++ b/templates/shared/issue_link.tmpl @@ -1 +1 @@ -#{{.Index}} +#{{.Index}} diff --git a/web_src/css/helpers.css b/web_src/css/helpers.css index ebe2e80b0ab..dad0f9b127b 100644 --- a/web_src/css/helpers.css +++ b/web_src/css/helpers.css @@ -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; }