소스 검색

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

Lacey Sanderson 8 년 전
부모
커밋
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