mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
navbar: Show realm icon logo instead of full logo on narrow widths.
When left sidebar is hidden between 1200px and 768px, we show smaller realm icon logo instead of the full realm logo. Also, we use the new space to expand the middle column to better show the narrow description.
This commit is contained in:
@@ -166,6 +166,7 @@ function initialize_navbar() {
|
||||
const rendered_navbar = render_navbar({
|
||||
embedded: page_params.narrow_stream !== undefined,
|
||||
user_avatar: current_user.avatar_url_medium,
|
||||
realm_icon_url: realm.realm_icon_url,
|
||||
});
|
||||
|
||||
$("#header-container").html(rendered_navbar);
|
||||
|
||||
Reference in New Issue
Block a user