mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-28 02:38:44 +09:00
6e7991316c
Replace Fomantic/custom CSS text utility classes with their Tailwind equivalents: - `.text.<color>` compound classes → `tw-text-<color>` classes - `.text.small` (`font-size: 0.75em`) → `tw-text-xs` (11px) - `.text.truncate` (`overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block`) → `tw-inline-block tw-truncate` Remove the now-unused CSS rules from `base.css` and `dashboard.css`. --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
436 B
Handlebars
12 lines
436 B
Handlebars
{{if .comment.OriginalAuthor}}
|
|
<span class="tw-text-text">
|
|
{{svg (MigrationIcon .ctxData.Repository.GetOriginalURLHostname)}}
|
|
{{.comment.OriginalAuthor}}
|
|
</span>
|
|
{{if .ctxData.Repository.OriginalURL}}
|
|
<span class="migrate">({{ctx.Locale.Tr "repo.migrated_from" .ctxData.Repository.OriginalURL .ctxData.Repository.GetOriginalURLHostname}})</span>
|
|
{{end}}
|
|
{{else}}
|
|
{{template "shared/user/authorlink" .comment.Poster}}
|
|
{{end}}
|