Skip to content

Moved right-sidebar styles out of the left column

Denys Mishunov requested to merge 322680-moveout-right-menu into master

What does this MR do?

This MR is a continuation of the cleanup in contextual_sidebar.scss aiming at leaving only the styles related to the left-hand panel in this stylesheet to make the refactoring more predictable and less fragile.

This MR in particular moves out the .toggle-right-sidebar-button CSS class out into the right panel's stylesheet (sidepanel.scss) as it does not belong to the left panel at all.

To test the change one should go either to one of:

  • Project settings → CI/CD → Test Cases → Open/Create a test case
  • JIRA issues (if the Jira integration is set up)

These are the only two usecases for .toggle-right-sidebar-button

Screenshots (strongly suggested)

Description Before After
Right panel (expanded) Screenshot_2021-05-19_at_16.39.08 Screenshot_2021-05-19_at_16.35.44
Right panel (collapsed) Screenshot_2021-05-19_at_16.39.03 Screenshot_2021-05-19_at_16.35.49
Left panel (expanded) Screenshot_2021-05-19_at_16.38.58 Screenshot_2021-05-19_at_16.37.37
Left panel (collapsed) Screenshot_2021-05-19_at_16.38.53 Screenshot_2021-05-19_at_16.37.43

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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

Related to #322680 (closed)

Edited by Denys Mishunov

Merge request reports