diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-08-31 10:29:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-31 02:29:59 +0000 |
commit | 19a1e1b20ee45f02908c915c8540baab1396899c (patch) | |
tree | cceca2b1d7682a3d8420665910bea92a35df924b /web_src/css/base.css | |
parent | 98f2bf23bc57d734471a08e396c687be6d194313 (diff) | |
download | gitea-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/css/base.css')
-rw-r--r-- | web_src/css/base.css | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index 43fcfe4632..c865e5973e 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: right" anymore */ -.ui.right:not(.action) { - float: right; -} - .ui.form .ui.button { font-weight: var(--font-weight-normal); } |