@bebranded/bb-contents 1.0.26-beta → 1.0.27-beta

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.
Files changed (2) hide show
  1. package/bb-contents.js +3 -3
  2. package/package.json +1 -1
package/bb-contents.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * BeBranded Contents
3
3
  * Contenus additionnels français pour Webflow
4
- * @version 1.0.26-beta
4
+ * @version 1.0.27-beta
5
5
  * @author BeBranded
6
6
  * @license MIT
7
7
  * @website https://www.bebranded.xyz
@@ -17,7 +17,7 @@
17
17
 
18
18
  // Configuration
19
19
  const config = {
20
- version: '1.0.26-beta',
20
+ version: '1.0.27-beta',
21
21
  debug: window.location.hostname === 'localhost' || window.location.hostname.includes('webflow.io'),
22
22
  prefix: 'bb-', // utilisé pour générer les sélecteurs (data-bb-*)
23
23
  i18n: {
@@ -342,7 +342,7 @@
342
342
  mainContainer.style.cssText = `
343
343
  position: relative;
344
344
  width: 100%;
345
- height: ${isVertical ? height + 'px' : 'auto'};
345
+ height: ${isVertical ? (height === 'auto' ? 'auto' : height + 'px') : 'auto'};
346
346
  overflow: hidden;
347
347
  min-height: ${isVertical ? '100px' : '50px'};
348
348
  ${minHeight ? `min-height: ${minHeight};` : ''}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bebranded/bb-contents",
3
- "version": "1.0.26-beta",
3
+ "version": "1.0.27-beta",
4
4
  "description": "Contenus additionnels français pour Webflow",
5
5
  "main": "bb-contents.js",
6
6
  "scripts": {