summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuvemwidget.info1
-rw-r--r--screen.js9
-rw-r--r--style.css2
3 files changed, 11 insertions, 1 deletions
diff --git a/nuvemwidget.info b/nuvemwidget.info
index 2c607ba..e8ca9e1 100644
--- a/nuvemwidget.info
+++ b/nuvemwidget.info
@@ -33,6 +33,7 @@ regions[footer_message] = Footer
stylesheets[all][] = style.css
scripts[] = script.js
+scripts[] = screen.js
; Information added by drupal.org packaging script on 2011-09-13
version = "7.x-1.0"
core = "7.x"
diff --git a/screen.js b/screen.js
new file mode 100644
index 0000000..3d1b8c2
--- /dev/null
+++ b/screen.js
@@ -0,0 +1,9 @@
+(function ($) {
+
+ Drupal.behaviors.nuvemWidget = {
+ attach: function (context, settings) {
+ $('.b2-sheet').css('width', $(document).width());
+ }
+ };
+
+})(jQuery);
diff --git a/style.css b/style.css
index f4255d8..67970f9 100644
--- a/style.css
+++ b/style.css
@@ -757,7 +757,7 @@ h2.b2-logo-text a:hover
cursor:auto;
/*width: 1000px;*/
/*width: 700px;*/
- width: 600px;
+ /*width: 600px;*/
}
.b2-sheet-body