Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/results/other-factors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const OtherFactors = () => {
letterSpacing: 'mono',
textTransform: 'uppercase',
color: 'secondary',
fontSize: 1,
fontSize: [1, 1, 1, 2],
},
'& td': {
fontFamily: 'body',
Expand Down
6 changes: 3 additions & 3 deletions components/results/regional-risk.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const RegionalRisk = () => {
}}
sx={{
'& select': {
fontSize: 1,
fontSize: [1, 1, 1, 2],
fontFamily: 'mono',
letterSpacing: 'mono',
textTransform: 'uppercase',
Expand All @@ -224,7 +224,7 @@ const RegionalRisk = () => {
fontFamily: 'mono',
letterSpacing: 'mono',
textTransform: 'uppercase',
fontSize: 1,
fontSize: [1, 1, 1, 2],
cursor: 'pointer',
}}
>
Expand Down Expand Up @@ -370,7 +370,7 @@ const RegionalRisk = () => {
letterSpacing: 'mono',
textTransform: 'uppercase',
color: 'secondary',
fontSize: 1,
fontSize: [1, 1, 1, 2],
whiteSpace: 'nowrap',
},
'& tr td:last-of-type': {
Expand Down
2 changes: 1 addition & 1 deletion components/results/risk-calculation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const RiskCalculation = () => {

return (
<>
<Box sx={{ mt: 2 }}>
<Box sx={{ mt: 2, variant: 'description' }}>
The risk scoring system is a categorical classification of continuous
values of annual risk of loss, which is computed at every location with
the following equation:
Expand Down
9 changes: 5 additions & 4 deletions components/results/score-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const ScoreBar = ({
position: 'absolute',
height: `5px`,
bottom: '-12px',
left: '-2.5px',
left: '-1.5px',
color:
color === colormap[i] ||
color === colormap[i - 1]
Expand All @@ -76,9 +76,10 @@ const ScoreBar = ({
<Box
sx={{
position: 'absolute',
bottom: '-28px',
left: `-${displayText.length * 4.2}px`,
fontSize: 0,
bottom: ['-28px', '-28px', '-28px', '-31px'],
left: '-1px',
transform: 'translateX(-50%)',
fontSize: [0, 0, 0, 1],
fontFamily: 'mono',
letterSpacing: 'mono',
color:
Expand Down
2 changes: 1 addition & 1 deletion components/results/time-horizons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const TimeHorizons = () => {

return (
<>
<Box sx={{ mt: 4 }}>
<Box sx={{ mt: 4, variant: 'description' }}>
Over longer time horizons, the annual burn probability, and thus risk of
loss, compounds.
</Box>
Expand Down
2 changes: 1 addition & 1 deletion components/results/tooltip-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const TableCell = ({

const sx = {
tableHead: {
fontSize: 1,
fontSize: [1, 1, 1, 2],
fontFamily: 'mono',
letterSpacing: 'mono',
textTransform: 'uppercase' as const,
Expand Down
Loading