From ac572c9c1d8cb453626c5f73c0790d39693b508e Mon Sep 17 00:00:00 2001 From: Joel McCracken Date: Sat, 13 Dec 2014 20:53:27 -0500 Subject: [PATCH 1/6] provide embedded iframe info, preview functionality --- embed-preview.html | 18 ++++++++++++++++++ index.html | 2 ++ src/session.coffee | 8 ++++++++ 3 files changed, 28 insertions(+) create mode 100644 embed-preview.html diff --git a/embed-preview.html b/embed-preview.html new file mode 100644 index 0000000..b640f46 --- /dev/null +++ b/embed-preview.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+ + diff --git a/index.html b/index.html index 66dc629..c94fc57 100644 --- a/index.html +++ b/index.html @@ -288,6 +288,8 @@

About Us

  • + + View embed on test page. - View embed on test page. + View embed on test page. + View embed on test page. From 228a335835a7efbb07a884a4013e114845156b53 Mon Sep 17 00:00:00 2001 From: Joel McCracken Date: Wed, 21 Jan 2015 02:38:53 -0500 Subject: [PATCH 5/6] removes extra space --- css/style.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 17948cd..d213816 100644 --- a/css/style.css +++ b/css/style.css @@ -247,7 +247,7 @@ and (max-device-width : 480px) { background: #FFF; width: 591px; position: absolute; - height: 100%; + height: 100%; left: 0px; bottom: 0; } @@ -1184,7 +1184,6 @@ and (max-device-width : 480px) { font-size: 75%; } - .tooltip { position: absolute; z-index: 1020; From 4f38c9f5d3b3f54799f68b51fee225f9f1764687 Mon Sep 17 00:00:00 2001 From: Joel McCracken Date: Wed, 21 Jan 2015 02:39:48 -0500 Subject: [PATCH 6/6] Remove unless statement modifier and use if block --- src/dom.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dom.coffee b/src/dom.coffee index df45a30..d62bf53 100644 --- a/src/dom.coffee +++ b/src/dom.coffee @@ -260,7 +260,8 @@ $.extend REPLIT, documentWidth = document.documentElement.clientWidth documentHeight = document.documentElement.clientHeight height = documentHeight - height -= (HEADER_HEIGHT + FOOTER_HEIGHT) unless isEmbed() + if !isEmbed() + height -= (HEADER_HEIGHT + FOOTER_HEIGHT) width = documentWidth - @content_padding innerWidth = width - 2 * RESIZER_WIDTH