Skip to content

Commit

Permalink
Merge pull request #1021 from data-for-change/1020-bug-the-text-in-in…
Browse files Browse the repository at this point in the history
…fo-button-is-very-small

Making the info font bigger
  • Loading branch information
atalyaalon authored Feb 28, 2024
2 parents c9c5fa0 + 2a29e9b commit ff9727a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/molecules/card/AnyWayCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const AnyWayCard: FC<IProps> = ({
const [isOpen, setOpen] = useState(false);
const [widgateOpen,SetWidgetOpen] = useState('')

const handleCardEditorOpen = (name:string) =>{
const handleCardEditorOpen = (name:string) => {
SetWidgetOpen(name)
setOpen(true)
};
Expand All @@ -99,6 +99,7 @@ const AnyWayCard: FC<IProps> = ({
const sizes = getSizes(variant, factor);

const classes = useStyles();

const imgDownloadHandler = () => {
if (element && element instanceof HTMLElement) {
widgetToImage(widgetName, element);
Expand All @@ -111,7 +112,7 @@ const AnyWayCard: FC<IProps> = ({

case 'TextBox':
Widget = <TextBox isOpen={isOpen} onClose={handleCardEditorClose} widgetName={widgetName} text={transcription} />
break
break
case 'CardEditor':
Widget = <CardEditor isOpen={isOpen} onClose={handleCardEditorClose} widgetName={widgetName} text={title} />
}
Expand Down

0 comments on commit ff9727a

Please sign in to comment.