scrollbar appears if two many electons on control panel. ooks pretty nasty.
author<jlsharps@mit.edu> <>
Mon, 30 Jun 2008 03:33:56 +0000 (23:33 -0400)
committer<jlsharps@mit.edu> <>
Mon, 30 Jun 2008 03:33:56 +0000 (23:33 -0400)
app/controllers/election_controller.rb
app/views/front/index.rhtml
public/stylesheets/front.css

index 68d59cc520fd1905474a12dea3991894682151af..7f87b2efa4a7f979b9cb912816c76015f768e9bf 100644 (file)
@@ -46,6 +46,7 @@ class ElectionController < ApplicationController
     @election.anonymous = 1
     @election.startdate = Time.now
     
+    
     holder = create_theme_hash
     unless holder.values.all? {|v| v.has_value?("")}
       token_generator = UniqueTokenGenerator.new( 16 )
@@ -79,7 +80,6 @@ class ElectionController < ApplicationController
   def update_general_information
     @election = Election.find(params[:id])
     
-    
     holder = create_theme_hash
     unless holder.values.all? {|v| v.has_value?("")}
       unless @election.embed_custom_string
index afdf35d61e9c8217479ad9a9636f2fe44faca55b..70cad25db4e23155241eb793748475b4c71df5f7 100644 (file)
@@ -19,7 +19,8 @@
 </div>
 
 <div id="control-room" class="main-section">
-  <div id="control-room-content">
+  <div id="control-room-content" >
+               
   <h2>Control Room</h2>
   <% if session[:user] %>
     <%= render :partial => 'user_summary' %> 
index 4c973b125a097ee5cf45a4fafb867cf5fcf3d853..8805abedfe3cfcfefc4cf7af9214ee7c202f8e57 100644 (file)
@@ -127,6 +127,7 @@ h3 {
 
 #control-room-content {
        height: 428px;
+       overflow:auto;
 }
 
 #quickvotes {

Benjamin Mako Hill || Want to submit a patch?