releasebird-javascript-sdk 1.0.78 → 1.0.80

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.
@@ -845,7 +845,7 @@ export default class RbirdWebsiteWidget {
845
845
  const buttonRect = this.websiteWidget.getBoundingClientRect();
846
846
  this.countBadge.style.left = `${buttonRect.right - 10}px`;
847
847
  this.countBadge.style.right = 'unset';
848
- this.countBadge.style.bottom = `${window.innerHeight - buttonRect.top - 5}px`;
848
+ this.countBadge.style.bottom = `${window.innerHeight - buttonRect.top - 15}px`;
849
849
  }
850
850
 
851
851
  // Update hide button position (top right of bubble)
@@ -928,7 +928,7 @@ export default class RbirdWebsiteWidget {
928
928
  if (this.countBadge) {
929
929
  this.countBadge.style.left = `${buttonRect.right - 10}px`;
930
930
  this.countBadge.style.right = 'unset';
931
- this.countBadge.style.bottom = `${window.innerHeight - buttonRect.top - 5}px`;
931
+ this.countBadge.style.bottom = `${window.innerHeight - buttonRect.top - 15}px`;
932
932
  }
933
933
 
934
934
  // Update hide button position (top right of bubble)
package/src/Styles.js CHANGED
@@ -313,9 +313,9 @@ width: 15px;
313
313
  height: 15px;
314
314
  position: fixed;
315
315
  cursor: pointer;
316
- bottom: ${spaceBottom + 45}px;
317
- right: ${launcherPosition === 'right' ? (spaceLeftRight - 5) + 'px' : 'unset'};
318
- left: ${launcherPosition === 'left' ? (spaceLeftRight + 55) + 'px' : 'unset'};
316
+ bottom: ${spaceBottom + 55}px;
317
+ right: ${launcherPosition === 'right' ? (spaceLeftRight - 10) + 'px' : 'unset'};
318
+ left: ${launcherPosition === 'left' ? (spaceLeftRight + 50) + 'px' : 'unset'};
319
319
  z-index: 10000001;
320
320
  }
321
321