Skip to content

Command Palette - File type icon glitch when content is too long

What does this MR do and why?

This MR fixes Command palette project file search visual bug File names that were longer than the modal window would push the icon in front of the filename and this icon would get smaller or completely disappear.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
Screenshot_2024-05-01_at_18.46.32 Screenshot_2024-05-01_at_18.46.42

How to set up and validate locally

  1. Make sure advanced search is installed and enabled
  2. Make sure you enable zoekt.
  3. On project page press '/'
  4. Search for files using '~' find large files watch the icon not changing the size.

Related to #451910 (closed)

Edited by Tomas Bulva

Merge request reports