new bookmarklet needs to be ridic wide to deal with bootstrap responsive :( [ci skip]

This commit is contained in:
Maxwell Salzberg 2012-05-23 18:06:25 -07:00
parent 5b3fcd07f3
commit de499ba276
3 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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

View file

@ -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;"}
%iframe{:src =>"/posts/new", :height => 500, :width => 980, :style => "border:none;"}