Remove max-widths from vertical form boxes

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/2612/head
Alex Coles 10 years ago
parent e67a5d6e42
commit 65c871518a
  1. 3
      app/assets/stylesheets/content/_forms.sass

@ -233,6 +233,7 @@ fieldset.form--fieldset
.form--field.-vertical &, .form--field.-vertical &,
.form.-vertical & .form.-vertical &
@include grid-size(shrink) @include grid-size(shrink)
max-width: none
.form--field.-required > & .form--field.-required > &
&::after &::after
@ -266,6 +267,7 @@ fieldset.form--fieldset
.form--field.-vertical &, .form--field.-vertical &,
.form.-vertical & .form.-vertical &
@include grid-size(shrink) @include grid-size(shrink)
max-width: none
%form--field-after-container %form--field-after-container
@include grid-content(10, 2) @include grid-content(10, 2)
@ -282,6 +284,7 @@ fieldset.form--fieldset
.form.-vertical & .form.-vertical &
@include grid-size(shrink) @include grid-size(shrink)
@include grid-offset(0) @include grid-offset(0)
max-width: none
.form--field-instructions .form--field-instructions
@extend %form--field-after-container @extend %form--field-after-container

Loading…
Cancel
Save