Skip to content

Commit 543a173

Browse files
author
Kevin Koech
committed
TrustLab Home page : Spotlight - Yellow stroke missing on dev for images used in Spotlight.
Fixes #1312 TrustLab Home Page : Spotlight - Change the Spotlight design background to a lighter one. Fixes #1313
1 parent d653594 commit 543a173

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

apps/trustlab/src/components/Resources/Resources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const Resources = forwardRef(function Resources(props, ref) {
1111
<Box ref={ref} sx={{ background: "#CDCDCD" }}>
1212
<Section sx={{ py: 4, px: { xs: 2.5, md: 0 } }}>
1313
{title && (
14-
<Typography variant="display4" sx={{ mb: 2 }}>
14+
<Typography variant="display4" sx={{ mb: 4 }}>
1515
{title}
1616
</Typography>
1717
)}

apps/trustlab/src/components/Spotlight/Spotlight.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const Spotlight = React.forwardRef(function Spotlight(
4444
};
4545

4646
return (
47-
<Box ref={ref} sx={{ background: "#7C7C7C" }}>
47+
<Box ref={ref} sx={{ background: "#EFEFEF" }}>
4848
<Section sx={{ py: 7.5, px: { xs: 2.5, md: 0 } }}>
4949
<Typography variant="display4" sx={{ mb: 2 }}>
5050
{title}

apps/trustlab/src/components/SpotlightCard/SpotlightCard.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function SpotlightCard(props) {
77
<Card
88
sx={{
99
width: "100%",
10-
height: 220,
10+
height: 200,
1111
maxWidth: { xs: "100%", sm: 370 },
1212
minWidth: 300,
1313
borderRadius: "10px",
@@ -27,10 +27,11 @@ function SpotlightCard(props) {
2727
sx={{
2828
width: "100%",
2929
height: "100%",
30+
maxHeight: 200,
31+
maxWidth: 350,
3032
objectFit: "cover",
3133
borderRadius: "10px",
3234
display: "block",
33-
filter: "grayscale(100%)",
3435
}}
3536
/>
3637
<Button

0 commit comments

Comments
 (0)