Commit 3d6bbf44 authored by Fatih Acet's avatar Fatih Acet

Merge branch 'ee-37259-some-mr-ready-mobile-fixes' into 'master'

Fix MR ready to merge buttons/controls at mobile breakpoint -- EE merge edition

Closes gitlab-ce#37259

See merge request gitlab-org/gitlab-ee!2923
parents 93d62cca 5149f6f0
...@@ -214,8 +214,8 @@ export default { ...@@ -214,8 +214,8 @@ export default {
<div class="mr-widget-body media"> <div class="mr-widget-body media">
<status-icon status="success" /> <status-icon status="success" />
<div class="media-body"> <div class="media-body">
<div class="media space-children"> <div class="mr-widget-body-controls media space-children">
<span class="btn-group"> <span class="btn-group append-bottom-5">
<button <button
@click="handleMergeButtonClick()" @click="handleMergeButtonClick()"
:disabled="isMergeButtonDisabled" :disabled="isMergeButtonDisabled"
...@@ -272,7 +272,7 @@ export default { ...@@ -272,7 +272,7 @@ export default {
</li> </li>
</ul> </ul>
</span> </span>
<div class="media-body space-children"> <div class="media-body-wrap space-children">
<template v-if="shouldShowMergeControls()"> <template v-if="shouldShowMergeControls()">
<label> <label>
<input <input
......
...@@ -6,3 +6,7 @@ ...@@ -6,3 +6,7 @@
.media-body { .media-body {
flex: 1; flex: 1;
} }
.media-body-wrap {
flex-grow: 1;
}
...@@ -342,6 +342,10 @@ ...@@ -342,6 +342,10 @@
} }
} }
.mr-widget-body-controls {
flex-wrap: wrap;
}
.mr_source_commit, .mr_source_commit,
.mr_target_commit { .mr_target_commit {
margin-bottom: 0; margin-bottom: 0;
......
---
title: Fix MR ready to merge buttons/controls at mobile breakpoint
merge_request: 14242
author:
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