aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/components
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-08-31 10:29:59 +0800
committerGitHub <noreply@github.com>2023-08-31 02:29:59 +0000
commit19a1e1b20ee45f02908c915c8540baab1396899c (patch)
treecceca2b1d7682a3d8420665910bea92a35df924b /web_src/js/components
parent98f2bf23bc57d734471a08e396c687be6d194313 (diff)
downloadgitea-19a1e1b20ee45f02908c915c8540baab1396899c.tar.gz
gitea-19a1e1b20ee45f02908c915c8540baab1396899c.zip
Remove polluted `.ui.right` (#26825)
Each change is tested manually line by line. There are too many changes so I can't share dozens of screenshots. In short: 1. `ui right` could be still used in `ui top attached header`, because there is a special case. 2. A lot of `ui right` are just no-op, so they can be removed safely. 3. Some of the `ui right` should be replaced by `gt-float-right` (to avoid breaking, leave them to the future). 4. A few of the `ui right` could be rewritten by flex.
Diffstat (limited to 'web_src/js/components')
-rw-r--r--web_src/js/components/RepoBranchTagSelector.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/components/RepoBranchTagSelector.vue b/web_src/js/components/RepoBranchTagSelector.vue
index 1889bfb222..1aba3b2935 100644
--- a/web_src/js/components/RepoBranchTagSelector.vue
+++ b/web_src/js/components/RepoBranchTagSelector.vue
@@ -33,7 +33,7 @@
<div class="ui label" v-if="item.name===defaultBranch && mode === 'branches'">
{{ textDefaultBranchLabel }}
</div>
- <a v-show="enableFeed && mode === 'branches'" role="button" class="rss-icon ui compact right" :href="rssURLPrefix + item.url" target="_blank" @click.stop>
+ <a v-show="enableFeed && mode === 'branches'" role="button" class="rss-icon gt-float-right" :href="rssURLPrefix + item.url" target="_blank" @click.stop>
<!-- creating a lot of Vue component is pretty slow, so we use a static SVG here -->
<svg width="14" height="14" class="svg octicon-rss"><use href="#svg-symbol-octicon-rss"/></svg>
</a>