diff options
author | Jose <jvargas@gitlab.com> | 2018-05-30 20:28:28 +0300 |
---|---|---|
committer | Jose <jvargas@gitlab.com> | 2018-05-31 21:35:50 +0300 |
commit | cf3f7601b06a82f02cc0f870bf05ec4b42a8ea92 (patch) | |
tree | a5fe855638df25ed3e2b859113489dcf39399638 /app/assets/stylesheets/pages/members.scss | |
parent | 02f8f900da8bc6f1c0b964ee46f53a765d0d4de2 (diff) |
Remove form-horizontal class where applicable
Diffstat (limited to 'app/assets/stylesheets/pages/members.scss')
-rw-r--r-- | app/assets/stylesheets/pages/members.scss | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/app/assets/stylesheets/pages/members.scss b/app/assets/stylesheets/pages/members.scss index de2b5701e2d..9914555d309 100644 --- a/app/assets/stylesheets/pages/members.scss +++ b/app/assets/stylesheets/pages/members.scss @@ -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; } } @@ -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; } } @@ -207,10 +211,6 @@ align-self: flex-start; } - .form-horizontal ~ .btn { - margin-right: 0; - } - @include media-breakpoint-down(xs) { display: block; @@ -220,6 +220,12 @@ display: block; } + .controls > .btn:last-child { + margin-left: 5px; + margin-right: 5px; + width: auto; + } + .form-control { width: 100%; } @@ -232,10 +238,6 @@ .member-controls { margin-top: 5px; } - - .form-horizontal { - margin-top: 10px; - } } } @@ -259,10 +261,6 @@ margin-top: 0; } - .form-horizontal { - display: block; - } - .member-form-control { margin: 5px 0; } |