Просмотр исходного кода

Specified link dependency and fixed jbrowse iframe height on fixed width themes.

Lacey Sanderson 8 лет назад
Родитель
Сommit
4e172a3a18
2 измененных файлов с 9 добавлено и 1 удалено
  1. 6 0
      theme/node--jbrowse-instance.tpl.php
  2. 3 1
      tripal_jbrowse.info

+ 6 - 0
theme/node--jbrowse-instance.tpl.php

@@ -88,6 +88,12 @@
   $url = "$url/?q=loc=$location&tracks=$tracks";
 ?>
 
+<style>
+iframe {
+  min-height: 600px;
+}
+</style>
+
 <div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
 
   <?php if (!$page): ?>

+ 3 - 1
tripal_jbrowse.info

@@ -1,4 +1,6 @@
 name = Tripal-JBrowse Integration
 description = Integrates existing JBrowse instances into Tripal sites.
 core = 7.x
-package = Tripal Extensions
+package = Tripal Extensions
+
+dependencies[] = link