diff --git a/src/data/features.tsx b/src/data/features.tsx index e66c7c50..ca0de833 100644 --- a/src/data/features.tsx +++ b/src/data/features.tsx @@ -20,7 +20,7 @@ const FEATURES: FeatureItem[] = [ width: 2000, height: 1300, hyperlink: 'leo-rover', - style: { width: 'auto', height: 260, paddingBottom: 20, marginTop: 40 }, + style: { width: 'auto', height: 260, marginTop: 40 }, }, text: ( @@ -36,7 +36,7 @@ const FEATURES: FeatureItem[] = [ width: 2000, height: 1500, hyperlink: 'raph-rover', - style: { width: 'auto', height: 300, paddingBottom: 20 }, + style: { width: 'auto', height: 300 }, }, text: ( diff --git a/src/pages/index.module.css b/src/pages/index.module.css index 2f1988c7..832a2c23 100644 --- a/src/pages/index.module.css +++ b/src/pages/index.module.css @@ -88,6 +88,9 @@ .featureImage { padding: 10px; + object-fit: contain; + object-position: bottom; + padding-bottom: 20px; } @media screen and (max-width: 996px) { @@ -95,4 +98,7 @@ margin-left: auto; margin-right: auto; } + .featureImage { + margin: 0 !important; + } }