1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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"
This commit is contained in:
wxiaoguang
2024-03-17 20:40:42 +08:00
committed by GitHub
parent a228656e3d
commit 673286d8c8
7 changed files with 18 additions and 32 deletions

View File

@@ -15,7 +15,7 @@
</div>
</div>
<div class="ui eight wide column text right">
<div class="ui action small input" id="clone-panel">
<div class="clone-panel ui action small input">
{{template "repo/clone_buttons" .}}
{{template "repo/clone_script" .}}
</div>

View File

@@ -28,7 +28,7 @@
</div>
</div>
</div>
<div class="ui action small input gt-df gt-ac" id="clone-panel">
<div class="clone-panel ui action small input">
{{template "repo/clone_buttons" .}}
{{template "repo/clone_script" .}}
</div>