resize: Remove dead recent_view code.

While this value is set to a legacy px value in
app_variables.css, nothing ever reads from or uses
this height value.
This commit is contained in:
Karl Stolley
2025-08-28 14:07:08 -05:00
committed by Tim Abbott
parent 77d8140eb2
commit 0980919876

View File

@@ -191,8 +191,6 @@ export function resize_sidebars(): void {
export function update_recent_view(): void {
const $recent_view_filter_container = $("#recent_view_filter_buttons");
const recent_view_filters_height = $recent_view_filter_container.outerHeight(true) ?? 0;
$(":root").css("--recent-topics-filters-height", `${recent_view_filters_height}px`);
// Update max avatars to prevent participant avatars from overflowing.
// These numbers are just based on speculation.