fix: wrong fonts on the operator info pages (#430)

* fix: fix bug when loading the contact info page with no phone configured
or no country configured in locales

style: fixed contact info styles

style: fixes on the terms & conditions styles

* fix: re-add H4 style after merge

fix: code styling
This commit is contained in:
Liordino Neto 2020-09-22 18:28:12 -03:00 committed by GitHub
parent 3c0f4ec194
commit 02474a0a6d
4 changed files with 41 additions and 32 deletions

View file

@ -12,7 +12,7 @@ import PromptWhenDirty from 'src/components/PromptWhenDirty'
import { Link } from 'src/components/buttons'
import { Switch } from 'src/components/inputs'
import { TextInput } from 'src/components/inputs/formik'
import { Info2, Info3, Label2, Label3 } from 'src/components/typography'
import { H4, Info2, Info3, Label2, Label3 } from 'src/components/typography'
import { ReactComponent as EditIcon } from 'src/styling/icons/action/edit/enabled.svg'
import { fromNamespace, toNamespace, namespaces } from 'src/utils/config'
@ -191,8 +191,8 @@ const TermsConditions = () => {
return (
<>
<div className={classes.header}>
<Info2>Terms &amp; Conditions</Info2>
<div className={classes.rowWrapper}>
<H4>Terms &amp; Conditions</H4>
</div>
<div className={classes.section}>
<div className={classes.enable}>