Skip to content
Snippets Groups Projects
Commit cf3f7601 authored by Jose Ivan Vargas Lopez's avatar Jose Ivan Vargas Lopez
Browse files

Remove form-horizontal class where applicable

parent 02f8f900
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -126,7 +126,6 @@ export default {
</div>
<form
v-if="!isCompact"
class="form-horizontal"
@submit.prevent.stop="commitChanges"
ref="formEl"
>
Loading
Loading
Loading
Loading
@@ -59,7 +59,7 @@ export default {
ref="form"
:action="deleteWikiUrl"
method="post"
class="form-horizontal js-requires-input"
class="js-requires-input"
>
<input
ref="method"
Loading
Loading
Loading
Loading
@@ -373,6 +373,7 @@ $dropdown-chevron-size: 10px;
$dropdown-toggle-active-border-color: darken($border-color, 14%);
$dropdown-item-hover-bg: $gray-darker;
$dropdown-fade-mask-height: 32px;
$dropdown-member-form-control-width: 163px;
 
/*
* Filtered Search
Loading
Loading
Loading
Loading
@@ -36,13 +36,12 @@
}
}
 
.form-horizontal {
margin-top: 20px;
.form-group {
margin-bottom: 0;
 
@include media-breakpoint-up(sm) {
display: -webkit-flex;
display: flex;
margin-top: 3px;
@include media-breakpoint-down(sm) {
display: block;
margin-left: 5px;
}
}
 
Loading
Loading
@@ -62,10 +61,15 @@
}
 
.member-form-control {
@include media-breakpoint-down(xs) {
padding-bottom: 5px;
@include media-breakpoint-down(sm) {
width: $dropdown-member-form-control-width;
margin-left: 0;
padding-bottom: 5px;
}
@include media-breakpoint-down(xs) {
margin-right: 0;
width: auto;
}
}
 
Loading
Loading
@@ -207,10 +211,6 @@
align-self: flex-start;
}
 
.form-horizontal ~ .btn {
margin-right: 0;
}
@include media-breakpoint-down(xs) {
display: block;
 
Loading
Loading
@@ -220,6 +220,12 @@
display: block;
}
 
.controls > .btn:last-child {
margin-left: 5px;
margin-right: 5px;
width: auto;
}
.form-control {
width: 100%;
}
Loading
Loading
@@ -232,10 +238,6 @@
.member-controls {
margin-top: 5px;
}
.form-horizontal {
margin-top: 10px;
}
}
}
 
Loading
Loading
@@ -259,10 +261,6 @@
margin-top: 0;
}
 
.form-horizontal {
display: block;
}
.member-form-control {
margin: 5px 0;
}
Loading
Loading
= form_for @application_setting, url: admin_application_settings_path, html: { class: 'form-horizontal fieldset-form' } do |f|
= form_for @application_setting, url: admin_application_settings_path do |f|
= form_errors(@application_setting)
 
%fieldset
.form-group
= f.label :mirror_available, 'Enable mirror configuration', class: 'control-label col-sm-2'
.col-sm-10
.form-group.row
= f.label :mirror_available, 'Enable mirror configuration', class: 'control-label col-sm-4'
.col-sm-8
.form-check
= f.label :mirror_available do
= f.check_box :mirror_available
Loading
Loading
= form_for @application_setting, url: admin_application_settings_path, html: { class: 'form-horizontal fieldset-form' } do |f|
= form_for @application_setting, url: admin_application_settings_path do |f|
= form_errors(@application_setting)
 
%fieldset
.form-group
.form-group.row
.col-sm-12
.form-check
= f.label :enforce_terms do
Loading
Loading
@@ -10,7 +10,7 @@
= _("Require all users to accept Terms of Service when they access GitLab.")
.form-text.text-muted
= _("When enabled, users cannot use GitLab until the terms have been accepted.")
.form-group
.form-group.row
.col-sm-12
= f.label :terms do
= _("Terms of Service Agreement")
Loading
Loading
Loading
Loading
@@ -61,7 +61,7 @@
title: 'Resend invite'
 
- if user != current_user && member.can_update?
= form_for member, remote: true, html: { class: 'js-edit-member-form form-horizontal' } do |f|
= form_for member, remote: true, html: { class: 'js-edit-member-form form-group row append-right-5' } do |f|
= f.hidden_field :access_level
.member-form-control.dropdown.append-right-5
%button.dropdown-menu-toggle.js-member-permissions-dropdown{ type: "button",
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment