From 36d129414b696bd2a633d379cac1dff867f64413 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 25 May 2022 15:49:31 +0200 Subject: fix(settings): reduce font-size on small devices With French translation, words are a little longer so I reduce the font size on small devices to avoid line breaking. --- src/components/molecules/forms/motion-toggle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/molecules/forms/motion-toggle.tsx') diff --git a/src/components/molecules/forms/motion-toggle.tsx b/src/components/molecules/forms/motion-toggle.tsx index cbe38fe..55ff150 100644 --- a/src/components/molecules/forms/motion-toggle.tsx +++ b/src/components/molecules/forms/motion-toggle.tsx @@ -9,7 +9,7 @@ import { useIntl } from 'react-intl'; export type MotionToggleProps = Pick< ToggleProps, - 'labelClassName' | 'value' + 'className' | 'labelClassName' | 'value' > & { /** * The local storage key to save preference. -- cgit v1.2.3