diff --git a/studio/src/NodeInfoPanel/AlignmentViewer/index.tsx b/studio/src/NodeInfoPanel/AlignmentViewer/index.tsx index d748a99..c7c48ff 100644 --- a/studio/src/NodeInfoPanel/AlignmentViewer/index.tsx +++ b/studio/src/NodeInfoPanel/AlignmentViewer/index.tsx @@ -5,6 +5,9 @@ import { AlignmentViewer as ReactAlignmentViewer } from 'react-alignment-viewer' import type { AlignmentData } from '../index.t'; import biomsa from 'biomsa'; import { expectedSpeciesOrder } from '@/components/util'; +import { Select } from 'antd'; + +const { Option } = Select; import './index.less'; @@ -71,6 +74,7 @@ const AlignmentViewer: React.FC = (props) => { const [dataset, setDataset] = React.useState(""); const [errorMsg, setErrorMsg] = React.useState("No data"); const [loading, setLoading] = React.useState(false); + const [tileHeight, setTileHeight] = React.useState('20'); useEffect(() => { if (props.data && props.data.length > 0) { @@ -113,7 +117,21 @@ const AlignmentViewer: React.FC = (props) => { : - + <> + + If you see the alignment is not properly displayed, you can adjust the tile height: + + + + } }