From e7124b6499e9598e2c46cbb549e9f123419448c3 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Wed, 30 Aug 2023 10:20:25 +0800 Subject: [PATCH] fix --- templates/repo/settings/collaboration.tmpl | 16 ++++------------ web_src/css/base.css | 5 ----- web_src/css/repo.css | 18 ------------------ web_src/js/components/DashboardRepoList.vue | 2 +- 4 files changed, 5 insertions(+), 36 deletions(-) diff --git a/templates/repo/settings/collaboration.tmpl b/templates/repo/settings/collaboration.tmpl index 13b2df0653bd9..900d044171e49 100644 --- a/templates/repo/settings/collaboration.tmpl +++ b/templates/repo/settings/collaboration.tmpl @@ -41,12 +41,8 @@
{{.CsrfTokenHtml}} -
- + @@ -93,12 +89,8 @@ {{if $allowedToChangeTeams}}
{{.CsrfTokenHtml}} -
- + diff --git a/web_src/css/base.css b/web_src/css/base.css index c0176cc437f13..bd2864dd6432a 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1175,11 +1175,6 @@ img.ui.avatar, color: var(--color-gold) !important; } -/* FIXME: this is a serious pollution, do not use this for "float: left" anymore */ -.ui.left:not(.action) { - float: left; -} - /* FIXME: this is a serious pollution, do not use this for "float: right" anymore */ .ui.right:not(.action) { float: right; diff --git a/web_src/css/repo.css b/web_src/css/repo.css index eb3f98774182f..bf6f0a7b5e216 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -1907,24 +1907,6 @@ flex-wrap: wrap; } -.repository.settings.collaboration #repo-collab-form #search-user-box .results { - left: 7px; -} - -.repository.settings.collaboration #repo-collab-form .ui.button { - margin-left: 5px; - margin-top: -3px; -} - -.repository.settings.collaboration #repo-collab-team-form #search-team-box .results { - left: 7px; -} - -.repository.settings.collaboration #repo-collab-team-form .ui.button { - margin-left: 5px; - margin-top: -3px; -} - /* if the element is for a checkbox, then it should have a padding-left to align to the checkbox's text */ .repository.settings.branches .branch-protection .ui.checkbox .help, .repository.settings.branches .branch-protection .checkbox-sub-item { diff --git a/web_src/js/components/DashboardRepoList.vue b/web_src/js/components/DashboardRepoList.vue index f1ea937f05a14..898362776beb0 100644 --- a/web_src/js/components/DashboardRepoList.vue +++ b/web_src/js/components/DashboardRepoList.vue @@ -15,7 +15,7 @@