Skip to content

Commit c08bb42

Browse files
CopilotBornToBeRoot
andcommitted
Fix react-image-gallery CSS import path for v2.0+
Co-authored-by: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com>
1 parent 6bd67c0 commit c08bb42

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Website/src/css/custom.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
* work well for content-centric websites.
55
*/
66

7-
/* Import react-image-gallery styles */
8-
@import 'react-image-gallery/styles/css/image-gallery.css';
9-
107
/* You can override the default Infima variables here. */
118
:root {
129
--ifm-color-primary: #00d4aa;

Website/src/pages/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
55
import Layout from "@theme/Layout";
66
import HomepageFeatures from "@site/src/components/HomepageFeatures";
77
import ImageGallery from "react-image-gallery";
8+
import "react-image-gallery/styles/image-gallery.css";
89

910
import ImageGalleryDashboard from "@site/docs/img/dashboard.png";
1011
import ImageGalleryNetworkInterfaceInformation from "@site/docs/img/network-interface--information.png";

0 commit comments

Comments
 (0)