gatsby-core-theme 20.0.6 → 20.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,18 @@
1
+ ## [20.0.7](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v20.0.6...v20.0.7) (2023-04-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * styling ([10e37e5](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/10e37e5208b16de22699460be238736982381fac))
7
+
8
+
9
+ ### Code Refactoring
10
+
11
+ * update faq module button inner html to span for w3c ([033eb05](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/033eb05fa64e6be4e47abbdc1a3ef0c14e560498))
12
+
13
+
14
+ * Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/gatsby-themes ([5d8ad3b](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/5d8ad3b38c44bfb160c0316882cc23dea6d1f811))
15
+
1
16
  ## [20.0.6](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v20.0.5...v20.0.6) (2023-04-18)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "20.0.6",
3
+ "version": "20.0.7",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "main": "index.js",
6
6
  "GATSBY_RECAPTCHA_SITEKEY": "6LfoyvMUAAAAAO4nl_MQnqHb4XdHxEiu5cXgIqeB",
@@ -27,7 +27,7 @@
27
27
  @include flex-align (center, center);
28
28
  margin-right: 0.5rem;
29
29
  }
30
- > div{
30
+ > span{
31
31
  display: block;
32
32
  margin: 0;
33
33
  margin-right: 2rem;
@@ -68,7 +68,7 @@ const Faq = ({ module, closeAll = false, openItem, closeOthers = false, icon = '
68
68
  >
69
69
  <span className={styles.icon}>
70
70
  {icon && <span className={styles.circle}>{icon} </span>}
71
- <div dangerouslySetInnerHTML={{ __html: item.question }} />
71
+ <span dangerouslySetInnerHTML={{ __html: item.question }} />
72
72
  </span>
73
73
  </button>
74
74
  <div
@@ -8,10 +8,15 @@
8
8
  }
9
9
 
10
10
  .item {
11
- padding: 1.5rem 2rem;
12
-
13
- @include custom-min-max(1200, 1260) {
14
- padding: 1.5rem 1.8rem;
11
+ padding: 1.5rem 1.5rem;
12
+ font-size: 1.6rem;
13
+ @include min(laptop) {
14
+ padding: 1.5rem 1.35rem;
15
+ font-size: 1.35rem;
16
+ }
17
+ @include custom-min(1360) {
18
+ padding: 1.5rem 1.5rem;
19
+ font-size: 1.6rem;
15
20
  }
16
21
 
17
22
  &.openedLink {
@@ -71,7 +71,6 @@
71
71
 
72
72
  @include min(desktop) {
73
73
  background-color: var(--nav-background-color);
74
- margin: 0 1.5rem;
75
74
  border-bottom: solid var(--nav-background-color) 3px;
76
75
  border-top: solid 3px transparent;
77
76
 
@@ -1,4 +1,5 @@
1
1
  .containerAnchor {
2
+ min-height: 8.4rem;
2
3
  .stickyContainer {
3
4
  position: fixed;
4
5
  z-index: 1;
@@ -1,5 +1,6 @@
1
1
  .nav {
2
2
  display: flex;
3
+ justify-content: space-between;
3
4
  position: relative;
4
5
  z-index: map-get($z-index, navigation);
5
6
  background-color: var(--nav-background-color);
@@ -16,11 +17,9 @@
16
17
  }
17
18
 
18
19
  @include min(laptop) {
19
- > a {
20
- margin-right: auto;
21
- }
22
-
23
20
  margin: 0;
21
+ display: grid;
22
+ grid-template-columns: .5fr 5fr .5fr;
24
23
  }
25
24
 
26
25
  @include max(laptop) {