Skip to content

Define dashboard dropdowns layout in flex

What does this MR do?

Fix for #202541 (closed) and #211889 (closed)

Ensure the metric dashboard filter bar dropdowns and buttons are consistent in their width, and scale well on different screen sizes

  • Removed column layout and used flex instead
  • Fixed an issue with the dropdown tooltip
  • Tested on mobile and tablet as well as desktop

Screenshots

before after
image image

Resize test

2020-04-14_17.30.35

Tooltips

Small issue in tooltips has been fixed

image

Too many buttons? No problem!

When presented with many buttons, the layout adapts:

sm md lg
image image image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports