Skip to content

Give full width to last panel in a panelGroup with odd number of panels

Andrei Stoicescu requested to merge astoicescu/fullWidthCharts into master

What does this MR do?

If there's a panel group that has an odd number of panels, the last one should have a full width.

Related issue: #219236 (closed)

Screenshots

One panel Even panels # Odd panels #
one_panel two_panels three_panels

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

Loading