Skip to content

Commit 92335ab

Browse files
committed
Layout improvement
1 parent d779dcc commit 92335ab

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

dist/RNAcentral-sequence-search.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/RNAcentral-sequence-search.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/containers/SequenceSearch/components/Results/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ class Results extends React.Component {
149149
</td>
150150
</tr>
151151
<tr>
152-
<td colSpan={8} className={`callout alignment`} style={{borderTop: "none"}}>
153-
{this.props.infernalAlignmentsCollapsed ? '' : entry.alignment }
152+
<td colSpan={8} className="callout alignment-rfam">
153+
{this.props.infernalAlignmentsCollapsed ? '' : entry.alignment + '\n' }
154154
</td>
155155
</tr>
156156
</tbody>

src/containers/SequenceSearch/components/Results/index.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,15 @@
5353
white-space: pre-wrap;
5454
max-height: 10em;
5555
overflow-y: auto;
56+
}
57+
58+
.alignment-rfam {
59+
font-family: monospace;
60+
padding: 0;
61+
white-space: pre;
62+
//font-size: smaller;
63+
line-height: 1.42857143;
64+
text-align: left;
65+
background-color: white;
66+
border-spacing: 10px;
5667
}

0 commit comments

Comments
 (0)