diff options
author | silverwind <me@silverwind.io> | 2024-03-24 17:42:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-24 17:42:49 +0100 |
commit | 68ec9b48592fe88765bcc3a73093d43c98b315de (patch) | |
tree | 793962a104d31d63d22ae3cfc7b4c9aff6b6f5f9 /templates/repo/commits.tmpl | |
parent | 4734d43e1422da04f9ff79ea0212f7e9472b55a1 (diff) | |
download | gitea-68ec9b48592fe88765bcc3a73093d43c98b315de.tar.gz gitea-68ec9b48592fe88765bcc3a73093d43c98b315de.zip |
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
Diffstat (limited to 'templates/repo/commits.tmpl')
-rw-r--r-- | templates/repo/commits.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl index ea173da7a5..e6efe1ff54 100644 --- a/templates/repo/commits.tmpl +++ b/templates/repo/commits.tmpl @@ -5,7 +5,7 @@ {{template "repo/sub_menu" .}} <div class="repo-button-row"> <div class="tw-flex tw-items-center"> - {{template "repo/branch_dropdown" dict "root" . "ContainerClasses" "gt-mr-2"}} + {{template "repo/branch_dropdown" dict "root" . "ContainerClasses" "tw-mr-1"}} <a href="{{.RepoLink}}/graph" class="ui basic small compact button"> {{svg "octicon-git-branch"}} {{ctx.Locale.Tr "repo.commit_graph"}} |