From 1fd6b38ec3158ce414bc737b843cbac305495fe1 Mon Sep 17 00:00:00 2001 From: Michiel Kamermans Date: Wed, 9 May 2012 15:07:32 -0400 Subject: [PATCH 1/3] filled in the share button dialog --- css/modals.css | 13 ++++++-- index.html | 48 +++++++++++++++++---------- js/lateSocials.js | 83 +++++++++++++++++++++++++++++++++++++++++++++++ js/main.js | 5 ++- js/publish.js | 5 ++- js/share.js | 17 ++++++++-- 6 files changed, 147 insertions(+), 24 deletions(-) create mode 100755 js/lateSocials.js diff --git a/css/modals.css b/css/modals.css index f8cbc1d..0bc87f9 100755 --- a/css/modals.css +++ b/css/modals.css @@ -68,8 +68,10 @@ } .content-box { - width: 300px; + width: 32s0px; min-height: 100px; + max-height: 200px; + overflow: auto; border: 20px solid #79a327; margin: auto; font-size: 80%; @@ -99,7 +101,7 @@ #modal-source-code { width: 100%; min-height: 100px; - font-size: 80%; + font-size: 90%; } #share-buttons a { @@ -163,3 +165,10 @@ .modal-selection.selected { display: block; } + +/* facebook needs a width override, because it reserves way too much + horizontal space by default (450px) that interferes with the modal. */ +#share-dialog div.fb-like span, +#share-dialog div.fb-like span iframe { + width: 280px !important; +} diff --git a/index.html b/index.html index 8091d58..3f8ac6c 100755 --- a/index.html +++ b/index.html @@ -30,8 +30,8 @@ - Share - + Save + Share @@ -83,44 +83,57 @@
-