diff options
-rw-r--r-- | timelinejs.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/timelinejs.module b/timelinejs.module index 2fc660f..30c6e92 100644 --- a/timelinejs.module +++ b/timelinejs.module @@ -181,9 +181,9 @@ function timelinejs_widget($nid = NULL, $width = '960px', $height = '500px') { // Format output and include timeline. $output = '<!DOCTYPE html>'; $output .= '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">'; - $output .= '<html><head>'; + $output .= '<html style="height: 100%;"><head>'; $output .= '<title>'. t('Timeline: @title', array('@title' => $node->title)) .'</title>'; - $output .= '</head><body class="widget timeline-widget">'; + $output .= '</head><body class="widget timeline-widget" style="height: 100%;">'; $output .= timelinejs($nid, $width, $height); $output .= '</body></html>'; |