diff --git a/app/assets/stylesheets/components/_forms.scss b/app/assets/stylesheets/components/_forms.scss index 335b219..f4d1ccf 100644 --- a/app/assets/stylesheets/components/_forms.scss +++ b/app/assets/stylesheets/components/_forms.scss @@ -46,6 +46,7 @@ form { position: relative; display: inline-block; margin-right: em(10); + float: left; select { @include appearance(none); @@ -234,18 +235,32 @@ form.square { line-height: em(16); } - .inputs, input[type=text], input[type=password], input[type=email], textarea { @include span-columns(9); } + + .inputs { + @include span-columns(9); + + input[type=text], + input[type=password], + input[type=email] { + width: 100%; + } + } } .controls { @include span-columns(9); @include shift(3); + + &.inline { + margin-left: 0; + width: auto; + } } } diff --git a/app/assets/stylesheets/pages/_teams.scss b/app/assets/stylesheets/pages/_teams.scss index 4b9c1bc..e088654 100644 --- a/app/assets/stylesheets/pages/_teams.scss +++ b/app/assets/stylesheets/pages/_teams.scss @@ -27,6 +27,18 @@ width: 20%; text-align: right; } + + &.edit { + @include span-columns(12); + + h1 { + margin-bottom: 1em; + } + + .tabbed-contents { + margin-bottom: em(20); + } + } } /* diff --git a/app/views/teams/edit.html.erb b/app/views/teams/edit.html.erb index e1a551b..b053792 100644 --- a/app/views/teams/edit.html.erb +++ b/app/views/teams/edit.html.erb @@ -1,56 +1,58 @@ -