diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-08-30 21:46:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-30 21:46:24 +0800 |
commit | 1bb9b1c4d906010c47936bf0ceba82efd1c0c014 (patch) | |
tree | 4df7ae3dffbc678f406414a9fac5db6ff7790f37 /web_src | |
parent | 2590707122aac20c53b554dc5695396ef35fbea4 (diff) | |
download | gitea-1bb9b1c4d906010c47936bf0ceba82efd1c0c014.tar.gz gitea-1bb9b1c4d906010c47936bf0ceba82efd1c0c014.zip |
Remove polluted ".ui.left" style (#26809)
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/css/base.css | 5 | ||||
-rw-r--r-- | web_src/css/repo.css | 18 | ||||
-rw-r--r-- | web_src/js/components/DashboardRepoList.vue | 2 |
3 files changed, 1 insertions, 24 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index 43fb2c9c75..43fcfe4632 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1179,11 +1179,6 @@ img.ui.avatar, font-size: 0.75em; } -/* 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 eb3f987741..bf6f0a7b5e 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 f1ea937f05..898362776b 100644 --- a/web_src/js/components/DashboardRepoList.vue +++ b/web_src/js/components/DashboardRepoList.vue @@ -15,7 +15,7 @@ </a> </h4> <div class="ui attached segment repos-search"> - <div class="ui fluid right action left icon input" :class="{loading: isLoading}"> + <div class="ui fluid action left icon input" :class="{loading: isLoading}"> <input type="search" spellcheck="false" maxlength="255" @input="changeReposFilter(reposFilter)" v-model="searchQuery" ref="search" @keydown="reposFilterKeyControl" :placeholder="textSearchRepos"> <i class="icon"><svg-icon name="octicon-search" :size="16"/></i> <div class="ui dropdown icon button" :title="textFilter"> |