From d7de47ea23cfb828d68cd7c7ba702a2101b8b945 Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Tue, 17 Mar 2026 18:45:50 +0100 Subject: [PATCH] fix(ui): cleanup css deadcode related to stackable menus (#11719) Followup to https://codeberg.org/forgejo/forgejo/pulls/11597#issuecomment-11486785 We only have two stackable menus in the UI: https://codeberg.org/forgejo/forgejo/src/commit/c1787d06e2917e75eb8901ac0586abb34a54f669/templates/user/dashboard/navbar.tmpl#L2 https://codeberg.org/forgejo/forgejo/src/commit/c1787d06e2917e75eb8901ac0586abb34a54f669/web_src/js/components/DashboardRepoList.vue#L328 None of them have classes `right` or `pointing`. Not normally, not through JS. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11719 Reviewed-by: Gusted Co-authored-by: 0ko <0ko@noreply.codeberg.org> Co-committed-by: 0ko <0ko@noreply.codeberg.org> --- web_src/css/dashboard.css | 5 ----- web_src/css/user.css | 4 ---- 2 files changed, 9 deletions(-) diff --git a/web_src/css/dashboard.css b/web_src/css/dashboard.css index 9790e517c7..9c81ccc38a 100644 --- a/web_src/css/dashboard.css +++ b/web_src/css/dashboard.css @@ -50,11 +50,6 @@ } } -.dashboard.feeds .right.stackable.menu > .item.active, -.dashboard.issues .right.stackable.menu > .item.active { - color: var(--color-red); -} - .dashboard .dashboard-repos, .dashboard .dashboard-orgs { margin-bottom: 0; diff --git a/web_src/css/user.css b/web_src/css/user.css index a647316fef..6f58dceb66 100644 --- a/web_src/css/user.css +++ b/web_src/css/user.css @@ -69,10 +69,6 @@ } } -.user.profile .ui.secondary.stackable.pointing.menu { - flex-wrap: wrap; -} - .user.link-account:not(.icon) { padding-top: 15px; padding-bottom: 5px;