summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorqwerty287 <80460567+qwerty287@users.noreply.github.com>2021-12-13 02:59:09 +0100
committerGitHub <noreply@github.com>2021-12-13 09:59:09 +0800
commitc3eea2f8af599c94e49e687a80e91a14144b5ea6 (patch)
treee8253fe995d4bfec5ca1f629aac1a0981eda06fd /web_src
parente0118b0d9b1a8fe85c0ccfbbf0df87dd57b9241a (diff)
downloadgitea-c3eea2f8af599c94e49e687a80e91a14144b5ea6.tar.gz
gitea-c3eea2f8af599c94e49e687a80e91a14144b5ea6.zip
Improve behavior of "Fork" button (#17288)
* Improbe behaviour of fork button * Apply suggestions from code review * Remove old lines * Apply suggestions * Fix test * Remove unnecessary or * Update templates/repo/header.tmpl Co-authored-by: silverwind <me@silverwind.io> * Add comment * Fix situation if you can't fork but don't have forks * Fix lint * Apply changes from #17783 * fmt * fmt * Apply tweaks Co-authored by: silverwind <me@silverwind.io> * Rm dupl css * Fix build Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_repository.less3
1 files changed, 2 insertions, 1 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index dab9b6ad00..94ab67ef47 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -2746,7 +2746,8 @@
#delete-repo-modal,
#delete-wiki-modal,
#convert-fork-repo-modal,
-#convert-mirror-repo-modal {
+#convert-mirror-repo-modal,
+#fork-repo-modal {
.ui.message {
width: 100% !important;
}