io-sanita-theme 2.3.3 → 2.3.4

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,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.3.4](https://github.com/RedTurtle/io-sanita-theme/compare/2.3.3...2.3.4) (2025-02-28)
4
+
5
+ ### Bug Fixes
6
+
7
+ * resume header-sticky avoid in editmode ([27b380f](https://github.com/RedTurtle/io-sanita-theme/commit/27b380f5e6a5d17662d688fdb2536086ae9284eb))
8
+
3
9
  ## [2.3.3](https://github.com/RedTurtle/io-sanita-theme/compare/2.3.2...2.3.3) (2025-02-26)
4
10
 
5
11
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "io-sanita-theme",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "description": "io-sanita-theme: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "license": "MIT",
@@ -45,8 +45,8 @@ const Header = ({ pathname }) => {
45
45
  {/* <Headers sticky={true} className={mini ? 'is-sticky' : undefined}> */}
46
46
  <Headers
47
47
  className={cx({
48
- 'is-sticky': mini, //&& !isEditMode, //rimossa condizione su isEditMode perchè creava problemi di mismatch con il server
49
- 'it-header-sticky': true, //!isEditMode,
48
+ 'is-sticky': mini && !isEditMode,
49
+ 'it-header-sticky': !isEditMode,
50
50
  })}
51
51
  >
52
52
  <HeaderSlim />
@@ -149,9 +149,8 @@ const Navigation = ({ pathname = '/', isEditMode }) => {
149
149
  {/* Social Links */}
150
150
  <HeaderSearch
151
151
  className={cx({
152
- //rimossa condizione su isEditMode perchè creava problemi di mismatch con il server
153
- //'d-none': isEditMode,
154
- 'display-only-when-sticky': true, //!isEditMode,
152
+ 'd-none': isEditMode,
153
+ 'display-only-when-sticky': !isEditMode,
155
154
  })}
156
155
  />
157
156
  <SocialHeader mobile={true} />