Skip to content

Resolve "Too much x-axis padding on the Environments Dashboard"

What does this MR do?

This MR touches a couple of class attributes in order to fix the misalignment of the UI in the environment dashboard view:

  • Fix CTA text to meet Pajamas guidelines.
  • Updates the bootstrap and gl modifier classes to fix the padding of the Environments dashboards cards.
  • Additionally, updates the modifier classes of the card content to fit the new values.
  • Finally, adds no-gutters and ml-n2 mr-n2 to the environment cards row container, which fixing the problem with the misaligned axis.

Screenshots

Note: the screenshots below were exported in @2x (captured with Devtools - Chrome Version 81.0.4044.138).

2560px

Click this see the 2560px screenshots 🔽
Before After
localhost_3001_-operations_environments__4 localhost_3001_-_operations_environments

1024px

Click this see the 2560px screenshots 🔽
Before After
localhost_3001_-operations_environments__5 localhost_3001_-operations_environments__1

768px

Click this see the 2560px screenshots 🔽
Before After
localhost_3001_-operations_environments__6 localhost_3001_-operations_environments__2

425px

Click this see the 2560px screenshots 🔽
Before After
localhost_3001_-operations_environments__7 localhost_3001_-operations_environments__3

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

Closes #195692 (closed)

Edited by Rayana Verissimo

Merge request reports