1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00

Remove unused CSS rules (#3937)

Remove CSS code that was made unused by some changes in Gitea. I was working on a layout change here but was bothered a bit by these. I dug a bit into the git history to find out how they were made unused but it's relatively uneasy.

- remove rule that was setting `width: 100%;`: the exactly same selector setting this exact value is duplicated below
- remove rules with `followers` in selectors: we don't use this class in templates (would be nice if someone double-checks)
- my editor forced EoF fix

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3937
Reviewed-by: Beowulf <beowulf@noreply.codeberg.org>
This commit is contained in:
0ko 2024-05-30 11:41:45 +00:00
parent b1e04a89be
commit 68c9e9c2b9

View file

@ -32,10 +32,6 @@
border-bottom: 1px solid var(--color-secondary); border-bottom: 1px solid var(--color-secondary);
} }
.user.profile .ui.card .extra.content > ul > li.follow .ui.button {
width: 100%;
}
.user.profile .ui.card .extra.content > ul > li .svg { .user.profile .ui.card .extra.content > ul > li .svg {
margin-left: 1px; margin-left: 1px;
margin-right: 5px; margin-right: 5px;
@ -75,16 +71,6 @@
flex-wrap: wrap; flex-wrap: wrap;
} }
.user.followers .header.name {
font-size: 20px;
line-height: 24px;
vertical-align: middle;
}
.user.followers .follow .ui.button {
padding: 8px 15px;
}
.user.link-account:not(.icon) { .user.link-account:not(.icon) {
padding-top: 15px; padding-top: 15px;
padding-bottom: 5px; padding-bottom: 5px;
@ -160,4 +146,4 @@
#pronouns-dropdown, #pronouns-custom { #pronouns-dropdown, #pronouns-custom {
width: 140px; width: 140px;
} }