Просмотр исходного кода

update remark abnormal bold

master
jason.lam 2 лет назад
Родитель
Сommit
abdcbe403d
4 измененных файлов: 14 добавлений и 9 удалений
  1. +3
    -3
      src/pages/PublicNotice/ListPanel/BaseGrid.js
  2. +3
    -3
      src/pages/PublicNotice/ListPanel/PendingPaymentTab.js
  3. +3
    -3
      src/pages/PublicNotice/ListPanel/SearchPublicNoticeTable.js
  4. +5
    -0
      src/themes/typography.js

+ 3
- 3
src/pages/PublicNotice/ListPanel/BaseGrid.js Просмотреть файл

@@ -80,13 +80,13 @@ export default function BaseGrid({rows}) {
renderCell: (params) => ( renderCell: (params) => (
isORGLoggedIn()? isORGLoggedIn()?
<div> <div>
<Typography>Care Of: {params.row.careOf}</Typography>
<Typography variant="pnspsNormalText">Care Of: {params.row.careOf}</Typography>
<Typography> <Typography>
<FormattedMessage id="myRemarks"/>: {params.row.remarks}
<FormattedMessage variant="pnspsNormalText" id="myRemarks"/>: {params.row.remarks}
</Typography> </Typography>
</div>: </div>:
<div> <div>
<Typography>{params.row.remarks}</Typography>
<Typography variant="pnspsNormalText">{params.row.remarks}</Typography>
</div> </div>
) )
}, },


+ 3
- 3
src/pages/PublicNotice/ListPanel/PendingPaymentTab.js Просмотреть файл

@@ -166,12 +166,12 @@ export default function SubmittedTab({ rows }) {
renderCell: (params) => ( renderCell: (params) => (
isORGLoggedIn() ? isORGLoggedIn() ?
<div> <div>
<Typography>Care Of: {params.row.careOf}</Typography>
<Typography>
<Typography variant="pnspsNormalText">Care Of: {params.row.careOf}</Typography>
<Typography variant="pnspsNormalText">
<FormattedMessage id="myRemarks"/>: {params.row.remarks}</Typography> <FormattedMessage id="myRemarks"/>: {params.row.remarks}</Typography>
</div> : </div> :
<div> <div>
<Typography>{params.row.remarks}</Typography>
<Typography variant="pnspsNormalText">{params.row.remarks}</Typography>
</div> </div>
) )
}, },


+ 3
- 3
src/pages/PublicNotice/ListPanel/SearchPublicNoticeTable.js Просмотреть файл

@@ -83,13 +83,13 @@ export default function SearchPublicNoticeTable({ recordList }) {
renderCell: (params) => ( renderCell: (params) => (
isORGLoggedIn()? isORGLoggedIn()?
<div> <div>
<Typography>Care Of: {params.row.careOf}</Typography>
<Typography>
<Typography variant="pnspsNormalText">Care Of: {params.row.careOf}</Typography>
<Typography variant="pnspsNormalText">
<FormattedMessage id="myRemarks"/>: {params.row.remarks} <FormattedMessage id="myRemarks"/>: {params.row.remarks}
</Typography> </Typography>
</div>: </div>:
<div> <div>
<Typography>{params.row.remarks}</Typography>
<Typography variant="pnspsNormalText">{params.row.remarks}</Typography>
</div> </div>
) )
}, },


+ 5
- 0
src/themes/typography.js Просмотреть файл

@@ -32,6 +32,11 @@ const Typography = (fontFamily) => ({
fontSize: '1.1rem', fontSize: '1.1rem',
lineHeight: 1 lineHeight: 1
}, },
pnspsNormalText: {
fontWeight: 600,
fontSize: '1.0rem',
lineHeight: 1.0
},
h1: { h1: {
fontWeight: 600, fontWeight: 600,
fontSize: '2.5rem', fontSize: '2.5rem',


Загрузка…
Отмена
Сохранить