From de499ba276e87642392e528534bbc40a5d7eeea7 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Wed, 23 May 2012 18:06:25 -0700 Subject: [PATCH] new bookmarklet needs to be ridic wide to deal with bootstrap responsive :( [ci skip] --- app/helpers/application_helper.rb | 2 +- app/views/aspects/_aspect_stream.haml | 2 +- app/views/status_messages/new_bookmarklet.haml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 210442d34..a62e5f8c2 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -17,7 +17,7 @@ module ApplicationHelper end def new_bookmarklet - raw_bookmarklet(520, 720, true) + raw_bookmarklet(520, 980, true) end def raw_bookmarklet( height = 250, width = 620, new=false) diff --git a/app/views/aspects/_aspect_stream.haml b/app/views/aspects/_aspect_stream.haml index 40eba445a..d7559ddf6 100644 --- a/app/views/aspects/_aspect_stream.haml +++ b/app/views/aspects/_aspect_stream.haml @@ -9,7 +9,7 @@ = link_to "Make something", "#composer", :rel => "facebox", :class => "button primary", :style => "display: block; margin: 20px 10px; margin-bottom: 30px; padding: 10px; text-align:center; font-weight: bold;" #composer{:style => "display:none;"} - %iframe{:src => '/posts/new', :height => 500, :width => 700, :style => "border:none;"} + %iframe{:src => '/posts/new', :height => 500, :width => 980, :style => "border:none;"} - else = render 'shared/publisher', :selected_aspects => stream.aspects, :aspect_ids => stream.aspect_ids, :for_all_aspects => stream.for_all_aspects?, :aspect => stream.aspect diff --git a/app/views/status_messages/new_bookmarklet.haml b/app/views/status_messages/new_bookmarklet.haml index 475a06e44..7e3c9e254 100644 --- a/app/views/status_messages/new_bookmarklet.haml +++ b/app/views/status_messages/new_bookmarklet.haml @@ -6,4 +6,4 @@ %html{:lang => I18n.locale.to_s, :dir => (rtl?) ? 'rtl' : 'ltr'} %head %body - %iframe{:src =>"/posts/new", :height => 500, :width => 700, :style => "border:none;"} \ No newline at end of file + %iframe{:src =>"/posts/new", :height => 500, :width => 980, :style => "border:none;"} \ No newline at end of file