gatsby-core-theme 2.0.6 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [2.0.7](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v2.0.6...v2.0.7) (2021-12-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * spotlight ([07c238b](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/07c238b0003de01cd6adf2c2c16080f734dc2029))
7
+ * spotlight test ([e649604](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/e649604c45d6064d29ba022ac59f71f04ad0ed4b))
8
+
1
9
  ## [2.0.6](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v2.0.5...v2.0.6) (2021-12-22)
2
10
 
3
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "main": "index.js",
6
6
  "GATSBY_RECAPTCHA_SITEKEY": "6LfoyvMUAAAAAO4nl_MQnqHb4XdHxEiu5cXgIqeB",
@@ -68,7 +68,7 @@ const Spotlights = ({ module }) => {
68
68
 
69
69
  {mode === 'image_text' && (
70
70
  <div className={styles.body}>
71
- <p className={styles.text} dangerouslySetInnerHTML={{ __html: item.text }} />
71
+ <div className={styles.text} dangerouslySetInnerHTML={{ __html: item.text }} />
72
72
  {item.link.value && item.link.type === 'external' ? (
73
73
  <a
74
74
  href={item.link.value}
@@ -86,6 +86,7 @@ const Spotlights = ({ module }) => {
86
86
  <Button
87
87
  btnText={item.link_text ? item.link_text : 'Read More'}
88
88
  invertColors
89
+ className={styles.readMore}
89
90
  isAnchorLink
90
91
  isInternalLink={item.link.type !== 'external'}
91
92
  targetBlank={item.link.type === 'external'}