summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2018-10-01 15:39:10 +0200
committerJacopo <beschi.jacopo@gmail.com>2018-10-01 17:13:52 +0200
commit337e87d9f8f9df5670df8bfdb7aff947191db5b2 (patch)
treedea849ffe1f3dd32bd14e43cab24864275440d8b
parentd5734de3d60983fcb3d3f3099d47fe9831e453ad (diff)
downloadgitlab-ce-337e87d9f8f9df5670df8bfdb7aff947191db5b2.tar.gz
Fixes modal button alignment
-rw-r--r--app/assets/stylesheets/framework/modal.scss2
-rw-r--r--changelogs/unreleased/45453-fix-delete-protected-branch-btn.yml5
2 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/modal.scss b/app/assets/stylesheets/framework/modal.scss
index 7d53a631cdf..f10eaedcc04 100644
--- a/app/assets/stylesheets/framework/modal.scss
+++ b/app/assets/stylesheets/framework/modal.scss
@@ -59,7 +59,7 @@
}
@include media-breakpoint-up(sm) {
- .btn:first-of-type {
+ .btn:nth-child(1) {
margin-left: auto;
}
}
diff --git a/changelogs/unreleased/45453-fix-delete-protected-branch-btn.yml b/changelogs/unreleased/45453-fix-delete-protected-branch-btn.yml
new file mode 100644
index 00000000000..64776abdc07
--- /dev/null
+++ b/changelogs/unreleased/45453-fix-delete-protected-branch-btn.yml
@@ -0,0 +1,5 @@
+---
+title: Fixes modal button alignment
+merge_request: 22024
+author: Jacopo Beschi @jacopo-beschi
+type: fixed