Skip to content

Commit

Permalink
type beside the title
Browse files Browse the repository at this point in the history
  • Loading branch information
VargaJoe committed Mar 13, 2024
1 parent 4ec5bda commit 0f04c35
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ const useStyles = makeStyles(() => {
display: 'flex',
},
typeinfo: {
display: 'flex',
justifyContent: 'center',
fontSize: '12px',
color: 'grey',
marginTop: '4px',
marginLeft: '5px',
},
})
})
Expand Down Expand Up @@ -70,8 +69,9 @@ export const ViewTitle: React.FunctionComponent<ViewTitleProps> = (props) => {

return (
<div className={clsx(classes.title, globalClasses.centered)}>
<div data-test="viewtitle">
<div data-test="viewtitle" className={clsx(globalClasses.centeredVertical)}>
{props.title} <span className={classes.textBolder}>{props.titleBold}</span>
<span className={classes.typeinfo}>({props.content!.Type})</span>
</div>
<div className={classes.actionBar}>
{props.actionName === 'browse' && (
Expand Down Expand Up @@ -161,8 +161,8 @@ export const ViewTitle: React.FunctionComponent<ViewTitleProps> = (props) => {
/>
</span>
)}

</div>
<div className={classes.typeinfo}>({props.content!.Type})</div>
</div>
)
}

0 comments on commit 0f04c35

Please sign in to comment.