소스 검색

Remove height restriction for sequence.

Lacey Sanderson 6 년 전
부모
커밋
5554e28e2c
2개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 1
      tripal_chado/includes/TripalFields/data__sequence/data__sequence.inc
  2. 1 5
      tripal_chado/theme/css/tripal_chado.css

+ 0 - 1
tripal_chado/includes/TripalFields/data__sequence/data__sequence.inc

@@ -89,7 +89,6 @@ class data__sequence extends ChadoField {
 
     // Retrieve all the sequence for the given feature.
     $sequences = chado_get_feature_sequences($feature, []);
-    dpm($sequences, 'seq');
     // If there are no direct residues then try to derive from the parent.
     if (empty($sequences) OR (sizeof($sequences) == 1 AND empty($sequences[0]['residues']))) {
       $sequences = chado_get_feature_sequences($feature, ['derive_from_parent' => 1]);

+ 1 - 5
tripal_chado/theme/css/tripal_chado.css

@@ -25,9 +25,7 @@
 
 .protein-residues-formatter {
   color: black;
-  height: 100px;
   max-width: 500px;
-  overflow: scroll;
   white-space: normal;
   background-color: transparent;
   margin: 0px;
@@ -36,9 +34,7 @@
 
 .residues-formatter {
   color: black;
-  height: 100px;
   max-width: 500px;
-  overflow: scroll;
   white-space: normal;
   background-color: transparent;
   margin: 0px;
@@ -62,4 +58,4 @@
 
 .properties-field-list {
   margin: 0px;
-}
+}