From 2b664334a2d780cc5658ba4b03758219a8206f24 Mon Sep 17 00:00:00 2001 From: WildScotsmen Date: Mon, 17 Dec 2018 01:21:01 -0500 Subject: [PATCH 1/3] Fixed bug where paper would go off screen --- src/components/flamelink/FlameLinkComponentCreations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/flamelink/FlameLinkComponentCreations.js b/src/components/flamelink/FlameLinkComponentCreations.js index 4af452a..afd5a72 100644 --- a/src/components/flamelink/FlameLinkComponentCreations.js +++ b/src/components/flamelink/FlameLinkComponentCreations.js @@ -11,7 +11,7 @@ const styles = theme => ({ margin: theme.spacing.unit * 2, paddingTop: theme.spacing.unit * 2, paddingBottom: theme.spacing.unit * 2, - width: '100%' + boxSizing: 'borderBox' }, }); From 29933ccb71d9b15a995a414ac9f6a85c9c3d5848 Mon Sep 17 00:00:00 2001 From: WildScotsmen Date: Mon, 17 Dec 2018 01:24:15 -0500 Subject: [PATCH 2/3] Fixed issue with background image getting a server error. --- {src/images => public}/galleryBackgroundImage.png | Bin .../flamelink/FlameLinkCollectionGallery.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {src/images => public}/galleryBackgroundImage.png (100%) diff --git a/src/images/galleryBackgroundImage.png b/public/galleryBackgroundImage.png similarity index 100% rename from src/images/galleryBackgroundImage.png rename to public/galleryBackgroundImage.png diff --git a/src/components/flamelink/FlameLinkCollectionGallery.js b/src/components/flamelink/FlameLinkCollectionGallery.js index 242de80..f6dda2f 100644 --- a/src/components/flamelink/FlameLinkCollectionGallery.js +++ b/src/components/flamelink/FlameLinkCollectionGallery.js @@ -18,7 +18,7 @@ const styles = theme => ({ flamelinkGallery: { marginRight: 'auto', marginLeft: 'auto', - backgroundImage: 'url(../images/galleryBackgroundImage.png)', + backgroundImage: 'url(/galleryBackgroundImage.png)', overflow: 'hidden', minHeight: 180, minWidth: 300, From 119f89489b13a2a5e4a1e7f501f202dd90bca996 Mon Sep 17 00:00:00 2001 From: WildScotsmen Date: Mon, 17 Dec 2018 01:38:56 -0500 Subject: [PATCH 3/3] Removed CSS I added that doesn't actually make a difference. --- src/components/flamelink/FlameLinkComponentCreations.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/flamelink/FlameLinkComponentCreations.js b/src/components/flamelink/FlameLinkComponentCreations.js index afd5a72..fd2da84 100644 --- a/src/components/flamelink/FlameLinkComponentCreations.js +++ b/src/components/flamelink/FlameLinkComponentCreations.js @@ -10,8 +10,7 @@ const styles = theme => ({ ...theme.mixins.gutters(), margin: theme.spacing.unit * 2, paddingTop: theme.spacing.unit * 2, - paddingBottom: theme.spacing.unit * 2, - boxSizing: 'borderBox' + paddingBottom: theme.spacing.unit * 2 }, });