Browse Source

update remark abnormal bold

master
jason.lam 1 year ago
parent
commit
abdcbe403d
4 changed files with 14 additions and 9 deletions
  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 View File

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


+ 3
- 3
src/pages/PublicNotice/ListPanel/PendingPaymentTab.js View File

@@ -166,12 +166,12 @@ export default function SubmittedTab({ rows }) {
renderCell: (params) => (
isORGLoggedIn() ?
<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>
</div> :
<div>
<Typography>{params.row.remarks}</Typography>
<Typography variant="pnspsNormalText">{params.row.remarks}</Typography>
</div>
)
},


+ 3
- 3
src/pages/PublicNotice/ListPanel/SearchPublicNoticeTable.js View File

@@ -83,13 +83,13 @@ export default function SearchPublicNoticeTable({ recordList }) {
renderCell: (params) => (
isORGLoggedIn()?
<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>
</div>:
<div>
<Typography>{params.row.remarks}</Typography>
<Typography variant="pnspsNormalText">{params.row.remarks}</Typography>
</div>
)
},


+ 5
- 0
src/themes/typography.js View File

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


Loading…
Cancel
Save