aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/header.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-03-23 22:22:15 +0100
committerGitHub <noreply@github.com>2024-03-23 21:22:15 +0000
commit75e2e5c736687ae1897cf760a432b572feed56f5 (patch)
treec928e537cf5488c07c4ef08709aa7d4fef379766 /templates/repo/header.tmpl
parent0bef9a2775af0e27a0754207fc87537b96c2792e (diff)
downloadgitea-75e2e5c736687ae1897cf760a432b572feed56f5.tar.gz
gitea-75e2e5c736687ae1897cf760a432b572feed56f5.zip
Migrate font-size helpers to tailwind (#30029)
Migrate `gt-font-*` to `tw-text-*` All tailwind-original class names are also available and render like they would with 16px root font size. We currently have root font size at 14px, but I would like to eventually migrate us to 16px so that the tailwind docs apply to us unchangend and because 16px is the recommended root font size for web pages in general. Also the number 16 is much better dividable than 14 so will result in more integers.
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r--templates/repo/header.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl
index 54f72943e4..002d06c23a 100644
--- a/templates/repo/header.tmpl
+++ b/templates/repo/header.tmpl
@@ -7,7 +7,7 @@
{{template "repo/icon" .}}
</div>
<div class="flex-item-main">
- <div class="flex-item-title gt-font-18">
+ <div class="flex-item-title tw-text-18">
<a class="muted tw-font-normal" href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a>/<a class="muted" href="{{$.RepoLink}}">{{.Name}}</a>
</div>
</div>