Fix MR checkboxes alignment on mobile

It does this by removing the `.accept-control` class which
was only causing problems.
This commit is contained in:
Paul Slaughter 2019-05-28 18:34:06 -05:00
parent 8ab0db4e8f
commit bea9594e0e
No known key found for this signature in database
GPG Key ID: DF5690803C68282A
3 changed files with 7 additions and 48 deletions

View File

@ -29,8 +29,8 @@ export default {
</script>
<template>
<div class="accept-control inline">
<label class="merge-param-checkbox">
<div class="inline">
<label>
<input
:checked="value"
:disabled="isDisabled"

View File

@ -185,46 +185,6 @@
}
}
}
.accept-control {
display: inline-block;
float: left;
margin: 0;
margin-left: 20px;
padding: 5px;
padding-top: 8px;
line-height: 20px;
&.right {
float: right;
padding-right: 0;
}
.modify-merge-commit-link {
padding: 0;
background-color: transparent;
border: 0;
color: $gl-text-color;
&:hover,
&:focus {
text-decoration: underline;
}
}
.merge-param-checkbox {
margin: 0;
}
a .fa-question-circle {
color: $gl-text-color-secondary;
&:hover,
&:focus {
color: $link-hover-color;
}
}
}
}
.ci-widget {
@ -407,12 +367,6 @@
width: 100%;
text-align: center;
}
.accept-control {
width: 100%;
text-align: center;
margin: 0;
}
}
.commit-message-editor {

View File

@ -0,0 +1,5 @@
---
title: Fix Merge Request merge checkbox alignment on mobile view
merge_request: 28845
author:
type: fixed