on master help sign in
fix: lowercase nudge copy & move to semantically correct location
commit64aee13c0e8fdfab04a56fc19a4d67e2a2f923c0 authorMatt Condon (shrugs) <mattgcondon@gmail.com> dateMon 19 Aug 2019, 19:15 (7 years ago) parent3a0700b
2 files changed+6−2
src/components/Accordion.js+1−1 src/views/Login/Hardware.js+5−1
src/components/Accordion.js+1−1
@@ -34,7 +34,7 @@ export default function Accordion({
3434 }>
3535 {option.text}
3636 {option.disabled && (
37− <sup className="f6"> Not Available on Mobile</sup>
37+ <sup className="f6 lowercase">{option.disabled}</sup>
3838 )}
3939 <div
4040 className="abs"
src/views/Login/Hardware.js+5−1
@@ -30,7 +30,11 @@ export default function Hardware({ className, ...rest }) {
3030 const hardwareAllowed = useBreakpoints([false, true, true]);
3131
3232 const options = useMemo(
33− () => OPTIONS.map(option => ({ ...option, disabled: !hardwareAllowed })),
33+ () =>
34+ OPTIONS.map(option => ({
35+ ...option,
36+ disabled: !hardwareAllowed && ' not availble on mobile',
37+ })),
3438 [hardwareAllowed]
3539 );
3640