Skip to content

Commit

Permalink
Larger margins to add track workflow to visually clarify next button …
Browse files Browse the repository at this point in the history
…behavior (#3477)
  • Loading branch information
cmdcolin authored Jan 27, 2023
1 parent 699d69a commit 8e664f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,12 @@ const useStyles = makeStyles()(theme => ({
backgroundColor: theme.palette.background.default,
},
button: {
marginTop: theme.spacing(1),
marginRight: theme.spacing(1),
},
actionsContainer: {
marginTop: theme.spacing(10),
marginBottom: theme.spacing(2),
},
stepContent: {
margin: theme.spacing(1),
},
alertContainer: {
padding: `${theme.spacing(2)}px 0px ${theme.spacing(2)}px 0px`,
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { FileSelector } from '@jbrowse/core/ui'
import { AbstractRootModel } from '@jbrowse/core/util'
import { Paper } from '@mui/material'
import { makeStyles } from 'tss-react/mui'
import { getRoot } from 'mobx-state-tree'
Expand All @@ -10,9 +11,7 @@ import { AddTrackModel } from '../model'

const useStyles = makeStyles()(theme => ({
paper: {
display: 'flex',
flexDirection: 'column',
padding: theme.spacing(1),
padding: theme.spacing(2),
},
spacer: {
height: theme.spacing(8),
Expand All @@ -21,8 +20,7 @@ const useStyles = makeStyles()(theme => ({

function TrackSourceSelect({ model }: { model: AddTrackModel }) {
const { classes } = useStyles()
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const rootModel = getRoot<any>(model)
const rootModel = getRoot<AbstractRootModel>(model)

return (
<Paper className={classes.paper}>
Expand Down

0 comments on commit 8e664f3

Please sign in to comment.