From 68c9e9c2b9c1dc9bee3939677089913f35870a1b Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Thu, 30 May 2024 11:41:45 +0000 Subject: [PATCH] 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 --- web_src/css/user.css | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/web_src/css/user.css b/web_src/css/user.css index e96598768b..4b363ed108 100644 --- a/web_src/css/user.css +++ b/web_src/css/user.css @@ -32,10 +32,6 @@ 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 { margin-left: 1px; margin-right: 5px; @@ -75,16 +71,6 @@ 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) { padding-top: 15px; padding-bottom: 5px; @@ -160,4 +146,4 @@ #pronouns-dropdown, #pronouns-custom { width: 140px; -} \ No newline at end of file +}