Skip to content

Improve visuals of language bar on projects

Dimitrie Hoekstra requested to merge visual-improvements-language-bar into master

What does this MR do?

Builds on top of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19480

Added minimum width for small percentage languages, made measures consistent with grid as set by design.GitLab.com which improves target area for hover.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

  • Wasn't compliant with https://design.gitlab.com/layout/grid
  • Target area needed to be a bit bigger for hover tooltips
  • Very small percentage languages were almost invisible before
  • Improves distinction between 2 languages, by adding a minor margin/whitespace

Screenshots (if relevant)

Old:

image

New:

image

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19480

Edited by Zeger-Jan van de Weg

Merge request reports