summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-03-10 12:41:04 -0500
committerGitHub <noreply@github.com>2023-03-11 01:41:04 +0800
commitb301cb17a355e6f44e480f04f8ce89a7e43c58eb (patch)
tree2489f3ea9736c5d26be789142a6d8e97390b061f /web_src
parente259daeff85f70ab1744efbbf28fcfcd21e2ac3b (diff)
downloadgitea-b301cb17a355e6f44e480f04f8ce89a7e43c58eb.tar.gz
gitea-b301cb17a355e6f44e480f04f8ce89a7e43c58eb.zip
Fix and move "Use this template" button (#23398) (#23408)
Backport #23398 Before: <img width="1157" alt="Screenshot 2023-03-09 at 23 21 25" src="https://user-images.githubusercontent.com/115237/224174168-869966cc-fa59-4231-b449-23bd9db12862.png"> After: <img width="1145" alt="Screenshot 2023-03-09 at 23 24 34" src="https://user-images.githubusercontent.com/115237/224174173-7f5b9c22-44c4-4eed-990c-da49d749eb0e.png"> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_repository.less2
-rw-r--r--web_src/less/helpers.less21
2 files changed, 22 insertions, 1 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 74079170a1..b5d9a1029f 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -2869,7 +2869,7 @@
}
.repo-button-row > * {
- margin-top: 10px;
+ margin-top: 8px;
}
.wiki .repo-button-row {
diff --git a/web_src/less/helpers.less b/web_src/less/helpers.less
index baa5959946..08589fdaab 100644
--- a/web_src/less/helpers.less
+++ b/web_src/less/helpers.less
@@ -172,6 +172,27 @@
.gt-py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.gt-py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
+.gt-gap-0 { gap: 0 !important; }
+.gt-gap-1 { gap: .125rem !important; }
+.gt-gap-2 { gap: .25rem !important; }
+.gt-gap-3 { gap: .5rem !important; }
+.gt-gap-4 { gap: 1rem !important; }
+.gt-gap-5 { gap: 2rem !important; }
+
+.gt-gap-x-0 { column-gap: 0 !important; }
+.gt-gap-x-1 { column-gap: .125rem !important; }
+.gt-gap-x-2 { column-gap: .25rem !important; }
+.gt-gap-x-3 { column-gap: .5rem !important; }
+.gt-gap-x-4 { column-gap: 1rem !important; }
+.gt-gap-x-5 { column-gap: 2rem !important; }
+
+.gt-gap-y-0 { row-gap: 0 !important; }
+.gt-gap-y-1 { row-gap: .125rem !important; }
+.gt-gap-y-2 { row-gap: .25rem !important; }
+.gt-gap-y-3 { row-gap: .5rem !important; }
+.gt-gap-y-4 { row-gap: 1rem !important; }
+.gt-gap-y-5 { row-gap: 2rem !important; }
+
.gt-content-center { align-content: center !important; }
@media @mediaSm {