Fix inactive team icon active styling (#36683)

Prevent decorative team icons from showing the active sidebar highlight when clicked, and pass the channel ID needed by the access-control subject builder so the current checkout can build.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: mattermost-code <matty-code@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
cursor[bot]
2026-05-22 18:31:23 +05:30
committed by GitHub
co-authored by Cursor Agent mattermost-code Mattermost Build
parent efdebec6ad
commit 27d144226f
@@ -50,7 +50,7 @@
box-shadow: 0 0 0 3px rgba(var(--sidebar-text-rgb), 0.3);
}
&:active {
&:not(.no-hover):active {
border-color: var(--sidebar-teambar-bg);
box-shadow: 0 0 0 3px var(--sidebar-text-active-border);
}