Skip to content

Commit

Permalink
fix: styling issues with the transcript select
Browse files Browse the repository at this point in the history
  • Loading branch information
katiestahl committed Jul 10, 2024
1 parent a99d04e commit 7838e83
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import {
TextField,
MenuItem,
Select,
Box,
Typography,
FormControl,
InputLabel,
} from "@material-ui/core";
import {
ClientTranscriptSegmentElement,
Expand All @@ -26,6 +22,7 @@ import StrandSwitch from "../../../../main/shared/StrandSwitch/StrandSwitch";
import HelpTooltip from "../../../../main/shared/HelpTooltip/HelpTooltip";
import ChromosomeField from "../../../../main/shared/ChromosomeField/ChromosomeField";
import TranscriptField from "../../../../main/shared/TranscriptField/TranscriptField";
import { Box, FormControl, InputLabel, Select } from "@mui/material";

interface TxSegmentElementInputProps extends StructuralElementInputProps {
element: ClientTranscriptSegmentElement;
Expand Down Expand Up @@ -428,8 +425,8 @@ const TxSegmentCompInput: React.FC<TxSegmentElementInputProps> = ({
setTranscripts={setGeneTranscripts}
setDefaultTranscript={setSelectedTranscript}
/>
<FormControl>
<InputLabel>Transcript</InputLabel>
<FormControl variant="standard">
<InputLabel id="transcript-select-label">Transcript</InputLabel>
<Select
labelId="transcript-select-label"
id="transcript-select"
Expand Down Expand Up @@ -617,7 +614,10 @@ const TxSegmentCompInput: React.FC<TxSegmentElementInputProps> = ({
</>
}
>
<FormControl variant="standard">
<InputLabel id="select-input-data"></InputLabel>
<Select
labelId="select-input-data"
value={txInputType}
onChange={(event) =>
selectInputType(event.target.value as InputType)
Expand All @@ -633,6 +633,7 @@ const TxSegmentCompInput: React.FC<TxSegmentElementInputProps> = ({
Exon coordinates, transcript
</MenuItem>
</Select>
</FormControl>
</HelpTooltip>
</Box>
{renderTxOptions()}
Expand Down

0 comments on commit 7838e83

Please sign in to comment.