loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove polluted ".ui.left" style (#26809)

authored by

wxiaoguang and committed by
GitHub
1bb9b1c4 25907071

+5 -36
+4 -12
templates/repo/settings/collaboration.tmpl
··· 41 41 <div class="ui bottom attached segment"> 42 42 <form class="ui form" id="repo-collab-form" action="{{.Link}}" method="post"> 43 43 {{.CsrfTokenHtml}} 44 - <div class="inline field ui left"> 45 - <div id="search-user-box" class="ui search"> 46 - <div class="ui input"> 47 - <input class="prompt" name="collaborator" placeholder="{{.locale.Tr "repo.settings.search_user_placeholder"}}" autocomplete="off" autofocus required> 48 - </div> 49 - </div> 44 + <div id="search-user-box" class="ui search input gt-vm"> 45 + <input class="prompt" name="collaborator" placeholder="{{.locale.Tr "repo.settings.search_user_placeholder"}}" autocomplete="off" autofocus required> 50 46 </div> 51 47 <button class="ui green button">{{.locale.Tr "repo.settings.add_collaborator"}}</button> 52 48 </form> ··· 93 89 {{if $allowedToChangeTeams}} 94 90 <form class="ui form" id="repo-collab-team-form" action="{{.Link}}/team" method="post"> 95 91 {{.CsrfTokenHtml}} 96 - <div class="inline field ui left"> 97 - <div id="search-team-box" class="ui search" data-org="{{.OrgName}}"> 98 - <div class="ui input"> 99 - <input class="prompt" name="team" placeholder="{{$.locale.Tr "repo.settings.search_team"}}" autocomplete="off" autofocus required> 100 - </div> 101 - </div> 92 + <div id="search-team-box" class="ui search input gt-vm"> 93 + <input class="prompt" name="team" placeholder="{{$.locale.Tr "repo.settings.search_team"}}" autocomplete="off" autofocus required> 102 94 </div> 103 95 <button class="ui green button">{{$.locale.Tr "repo.settings.add_team"}}</button> 104 96 </form>
-5
web_src/css/base.css
··· 1179 1179 font-size: 0.75em; 1180 1180 } 1181 1181 1182 - /* FIXME: this is a serious pollution, do not use this for "float: left" anymore */ 1183 - .ui.left:not(.action) { 1184 - float: left; 1185 - } 1186 - 1187 1182 /* FIXME: this is a serious pollution, do not use this for "float: right" anymore */ 1188 1183 .ui.right:not(.action) { 1189 1184 float: right;
-18
web_src/css/repo.css
··· 1907 1907 flex-wrap: wrap; 1908 1908 } 1909 1909 1910 - .repository.settings.collaboration #repo-collab-form #search-user-box .results { 1911 - left: 7px; 1912 - } 1913 - 1914 - .repository.settings.collaboration #repo-collab-form .ui.button { 1915 - margin-left: 5px; 1916 - margin-top: -3px; 1917 - } 1918 - 1919 - .repository.settings.collaboration #repo-collab-team-form #search-team-box .results { 1920 - left: 7px; 1921 - } 1922 - 1923 - .repository.settings.collaboration #repo-collab-team-form .ui.button { 1924 - margin-left: 5px; 1925 - margin-top: -3px; 1926 - } 1927 - 1928 1910 /* if the element is for a checkbox, then it should have a padding-left to align to the checkbox's text */ 1929 1911 .repository.settings.branches .branch-protection .ui.checkbox .help, 1930 1912 .repository.settings.branches .branch-protection .checkbox-sub-item {
+1 -1
web_src/js/components/DashboardRepoList.vue
··· 15 15 </a> 16 16 </h4> 17 17 <div class="ui attached segment repos-search"> 18 - <div class="ui fluid right action left icon input" :class="{loading: isLoading}"> 18 + <div class="ui fluid action left icon input" :class="{loading: isLoading}"> 19 19 <input type="search" spellcheck="false" maxlength="255" @input="changeReposFilter(reposFilter)" v-model="searchQuery" ref="search" @keydown="reposFilterKeyControl" :placeholder="textSearchRepos"> 20 20 <i class="icon"><svg-icon name="octicon-search" :size="16"/></i> 21 21 <div class="ui dropdown icon button" :title="textFilter">