Skip to content

Commit

Permalink
#1523 adjusted inspiration dialog layout and removed molecular proper…
Browse files Browse the repository at this point in the history
…ties headers from it too
  • Loading branch information
matej-vavrek committed Oct 15, 2024
1 parent fad9c22 commit 65e1ede
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions js/components/datasets/inspirationDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import GroupNglControlButtonsContext from '../preview/molecule/groupNglControlBu

const useStyles = makeStyles(theme => ({
paper: {
width: 472,
height: 294,
width: 505,
// height: 294,
overflowY: 'hidden'
},
molHeader: {
Expand Down Expand Up @@ -382,11 +382,11 @@ export const InspirationDialog = memo(
<>
<Grid container justifyContent="flex-start" direction="row" className={classes.molHeader} wrap="nowrap">
<Grid item container justifyContent="flex-start" direction="row">
{Object.keys(moleculeProperty).map(key => (
{/* {Object.keys(moleculeProperty).map(key => (
<Grid item key={key} className={classes.rightBorder}>
{moleculeProperty[key]}
</Grid>
))}
))} */}
{allSelectedMolecules.length > 0 && (
<Grid item>
<Grid
Expand Down
4 changes: 2 additions & 2 deletions js/components/preview/molecule/moleculeView/moleculeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const useStyles = makeStyles(theme => ({
image: {
border: 'solid 1px',
borderColor: theme.palette.background.divider,
borderStyle: 'solid solid solid none',
borderStyle: 'none none none solid',
position: 'relative'
},
imageMargin: {
Expand Down Expand Up @@ -1203,7 +1203,7 @@ const MoleculeView = memo(
</Grid>
<Grid item container className={classes.detailsCol} justifyContent="space-between" direction="row">
<Grid item container direction="column" alignItems="center" xs>
<Grid item container justifyContent="flex-start" alignItems="center" direction="row">
<Grid item container justifyContent="flex-start" alignItems="center" direction="row" xs>
<Grid item container justifyContent="space-between" direction="column" xs={3}>
{/* Title label */}
<Tooltip title={data.prefix_tooltip ?? '-' + (data.id === pose?.main_site_observation ? " - main observation" : "")} placement="bottom-start">
Expand Down

0 comments on commit 65e1ede

Please sign in to comment.