mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-31 07:08:06 +08:00
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.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user