Skip to content

Commit

Permalink
fix the text in info button (make bigger) (#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
Barak Yakter committed Jan 10, 2024
1 parent a8b248a commit ccfa45c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/components/molecules/card/AnyWayCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ const useStyles = makeStyles((theme) => ({
lineHeight: '0.75',
cursor: 'pointer',
},
tooltip: {
fontSize: '13px',
},
}));

const AnyWayCard: FC<IProps> = ({
Expand Down Expand Up @@ -118,22 +121,22 @@ const AnyWayCard: FC<IProps> = ({
<AnyWayButton className={classes.button} disableRipple={true} onClick={imgDownloadHandler}>
<GetAppOutlinedIcon />
</AnyWayButton>
<AnyWayButton className={classes.button} disableRipple={true} onClick={() =>{handleCardEditorOpen('CardEditor')}}>
<AnyWayButton className={classes.button} disableRipple={true} onClick={() => { handleCardEditorOpen('CardEditor') }}>
<SettingsOverscanIcon />
</AnyWayButton>
{information && (
<Box className={classes.information}>
<Tooltip title={information} placement="top" aria-label="info">
<Tooltip title={information} placement="top" aria-label="info" className={classes.tooltip}>
<span>
<InfoOutlinedIcon />
</span>
</Tooltip>
</Box>
)}
{transcription?(
<AnyWayButton className={classes.button} disableRipple={true} onClick={() =>{handleCardEditorOpen('TextBox')}}>
<TitleIcon />
</AnyWayButton>):null}
{transcription ? (
<AnyWayButton className={classes.button} disableRipple={true} onClick={() => { handleCardEditorOpen('TextBox') }}>
<TitleIcon />
</AnyWayButton>) : null}
</>
);
const refFn = (element: HTMLDivElement) => {
Expand Down

0 comments on commit ccfa45c

Please sign in to comment.