summaryrefslogtreecommitdiffstats
path: root/templates/repo/empty.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-03-17 20:40:42 +0800
committerGitHub <noreply@github.com>2024-03-17 12:40:42 +0000
commit673286d8c8a00bf7240a93187d767fb5a5e32a31 (patch)
tree0851cdcf7df8efb450e25ff057d1c783940f66e1 /templates/repo/empty.tmpl
parenta228656e3d318ffd871b414578f0b83aa5a65878 (diff)
downloadgitea-673286d8c8a00bf7240a93187d767fb5a5e32a31.tar.gz
gitea-673286d8c8a00bf7240a93187d767fb5a5e32a31.zip
Refactor clone-panel styles (#29861)
1. The borders were doubled on the "empty" page, fix it. 2. Remove unnecessary CSS classes like "clone", "compact", etc 3. Use CSS class "clone-panel" instead of ID "clone-panel" 4. Use `tw-flex-1` instead of `gt-f1` 5. Remove unnecessary ID "more-btn"
Diffstat (limited to 'templates/repo/empty.tmpl')
-rw-r--r--templates/repo/empty.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/empty.tmpl b/templates/repo/empty.tmpl
index a858a728e9..d3665a9f8b 100644
--- a/templates/repo/empty.tmpl
+++ b/templates/repo/empty.tmpl
@@ -37,7 +37,7 @@
</a>
{{end}}
{{end}}
- <div class="ui action small input gt-df gt-f1">
+ <div class="clone-panel ui action small input tw-flex-1">
{{template "repo/clone_buttons" .}}
</div>
</div>