From aedf04e4e74e59b862a92e92ae5cd2e70a688081 Mon Sep 17 00:00:00 2001 From: Alison Joseph Date: Wed, 2 Oct 2024 08:38:37 -0500 Subject: [PATCH] fix: broken contribution images (#4299) --- .../contributing/get-started/overview.mdx | 38 ++++--------------- src/styles/_images.scss | 2 +- 2 files changed, 8 insertions(+), 32 deletions(-) diff --git a/src/pages/contributing/get-started/overview.mdx b/src/pages/contributing/get-started/overview.mdx index 175eb0cd42f..5f564adb252 100644 --- a/src/pages/contributing/get-started/overview.mdx +++ b/src/pages/contributing/get-started/overview.mdx @@ -42,7 +42,7 @@ improved the React testing suite, created image production guidelines in Figma, and so much more! Explore the gallery below to see a small sample of finished projects. - + -words +![Carbon Tutorial](/images/carbon-tutorial.gif) @@ -67,11 +63,7 @@ projects. readTime="Contributors: Kevin Camello, Matthew Oliveira" href="https://github.com/carbon-design-system/carbon/issues/6337"> -words +![Two handle slider](/images/two-handle-slider.gif) @@ -83,11 +75,7 @@ projects. readTime="Contributor: Shankar V." href="https://react.carbondesignsystem.com/?path=/story/components-ui-shell-sidenav--side-nav-rail-w-header"> -words +![Sidenav delay on hover](/images/left-hand-nav-delay.gif) @@ -99,11 +87,7 @@ projects. readTime="Contributors: Devin O’ Bryan, Mike Eaker, Lee Chase" href="https://carbondesignsystem.com/patterns/read-only-states-pattern/"> -words +![Read-only states](/images/read-only-form-inputs.gif) @@ -115,11 +99,7 @@ projects. readTime="Contributor: Diana Tran" href="https://react.carbondesignsystem.com/?path=/story/components-contentswitcher--icon-only"> -words +![Content Switcher: Icon only variant](/images/icon-only-switcher.gif) @@ -131,11 +111,7 @@ projects. readTime="Contributor: Jan Hassel" href="https://react.carbondesignsystem.com/?path=/docs/components-combobutton--overview"> -words +![Combo Butto](/images/combo-button.gif) diff --git a/src/styles/_images.scss b/src/styles/_images.scss index cff01aff837..f44cb261ac7 100644 --- a/src/styles/_images.scss +++ b/src/styles/_images.scss @@ -38,7 +38,7 @@ } // Styles for Contributions Gallery -.contribution-style { +.contribution-style img { width: 300px; height: 300px; object-fit: scale-down;