Commit 7b357828 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch '45453-fix-delete-protected-branch-btn' into 'master'

Fixes modal button alignment for protected branches

The buttons in the footer were misaligned due to our CSS
styling only buttons correctly. The CSS was updated to
look for the first element regardless of its type.

Closes #45453

See merge request gitlab-org/gitlab-ce!22024
parents 70f4a26b 337e87d9
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
} }
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
.btn:first-of-type { .btn:nth-child(1) {
margin-left: auto; margin-left: auto;
} }
} }
......
---
title: Fixes modal button alignment
merge_request: 22024
author: Jacopo Beschi @jacopo-beschi
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment