diff --git a/app/assets/stylesheets/themes/default/pages/_matches.scss b/app/assets/stylesheets/themes/default/pages/_matches.scss old mode 100644 new mode 100755 index 7c02079..1cf2924 --- a/app/assets/stylesheets/themes/default/pages/_matches.scss +++ b/app/assets/stylesheets/themes/default/pages/_matches.scss @@ -156,6 +156,7 @@ div#match { .team-1, .team-2 { position: relative; + margin-bottom: 20px; .player { @include span-columns(12); @@ -167,21 +168,8 @@ div#match { position: relative; } - .controls { - top: 0; - position: absolute; - z-index: 100; - - input { - margin: 0; - } - } - - form { - - label.checkbox { - padding: 0; - } + label.checkbox { + padding: 0; } } @@ -193,16 +181,9 @@ div#match { margin: 0 0 0 10px; } - .controls { - left: 0; - } - - form { - - label.checkbox { - float: right; - margin-left: 1em; - } + label.checkbox { + float: right; + margin-left: 1em; } } @@ -210,16 +191,9 @@ div#match { @include span-columns(6); @include omega; - .controls { - right: 0; - } - - form { - - label.checkbox { - float: left; - margin-right: 1em; - } + label.checkbox { + float: left; + margin-right: 1em; } } @@ -234,6 +208,10 @@ div#match { margin: 0; } } + + form .controls { + clear: both; + } } .scoring { diff --git a/app/assets/stylesheets/themes/flat/pages/_matches.scss b/app/assets/stylesheets/themes/flat/pages/_matches.scss old mode 100644 new mode 100755 index 8ce9e99..92d98cc --- a/app/assets/stylesheets/themes/flat/pages/_matches.scss +++ b/app/assets/stylesheets/themes/flat/pages/_matches.scss @@ -155,6 +155,7 @@ div#match { .team-1, .team-2 { position: relative; + margin-bottom: 20px; .player { @include span-columns(12); @@ -166,21 +167,8 @@ div#match { position: relative; } - .controls { - top: 0; - position: absolute; - z-index: 100; - - input { - margin: 0; - } - } - - form { - - label.checkbox { - padding: 0; - } + label.checkbox { + padding: 0; } } @@ -192,16 +180,9 @@ div#match { margin: 0 0 0 10px; } - .controls { - left: 0; - } - - form { - - label.checkbox { - float: right; - margin-left: 1em; - } + label.checkbox { + float: right; + margin-left: 1em; } } @@ -209,16 +190,9 @@ div#match { @include span-columns(6); @include omega; - .controls { - right: 0; - } - - form { - - label.checkbox { - float: left; - margin-right: 1em; - } + label.checkbox { + float: left; + margin-right: 1em; } } @@ -233,6 +207,10 @@ div#match { margin: 0; } } + + form .controls { + clear: both; + } } .scoring { diff --git a/app/views/matches/_lineup.html.erb b/app/views/matches/_lineup.html.erb old mode 100644 new mode 100755 index 0f9ba3a..b610794 --- a/app/views/matches/_lineup.html.erb +++ b/app/views/matches/_lineup.html.erb @@ -1,7 +1,7 @@