diff options
author | silverwind <me@silverwind.io> | 2024-03-23 22:22:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 21:22:15 +0000 |
commit | 75e2e5c736687ae1897cf760a432b572feed56f5 (patch) | |
tree | c928e537cf5488c07c4ef08709aa7d4fef379766 /templates/org/header.tmpl | |
parent | 0bef9a2775af0e27a0754207fc87537b96c2792e (diff) | |
download | gitea-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/org/header.tmpl')
-rw-r--r-- | templates/org/header.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/header.tmpl b/templates/org/header.tmpl index 204ba7e3c1..81373aa75c 100644 --- a/templates/org/header.tmpl +++ b/templates/org/header.tmpl @@ -7,7 +7,7 @@ {{if .Org.Visibility.IsLimited}}<span class="ui large basic horizontal label">{{ctx.Locale.Tr "org.settings.visibility.limited_shortname"}}</span>{{end}} {{if .Org.Visibility.IsPrivate}}<span class="ui large basic horizontal label">{{ctx.Locale.Tr "org.settings.visibility.private_shortname"}}</span>{{end}} </span> - <span class="tw-flex tw-items-center gt-gap-2 tw-ml-auto gt-font-16 tw-whitespace-nowrap"> + <span class="tw-flex tw-items-center gt-gap-2 tw-ml-auto tw-text-16 tw-whitespace-nowrap"> {{if .EnableFeed}} <a class="ui basic label button gt-mr-0" href="{{.Org.HomeLink}}.rss" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}"> {{svg "octicon-rss" 24}} |