Skip to content

Change discard changes button to be icon button

Michael Le requested to merge mle/style-change-discard-button into master

What does this MR do?

Update the discard all changes button in the WebIDE to use the gl-button.

This change also allows the button to follow the gl-button styling for an icon button in tertiary variant.

At the moment, there is an extra class gl-shadow-none! added to override the styling scoped to the WebIDE to have a border on all buttons.

Screenshots or Screencasts (strongly suggested)

Before After
Before change After change

How to setup and validate locally (strongly suggested)

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
Edited by Michael Le

Merge request reports