cdnhost 2.3.6 → 2.3.8

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.
@@ -31,7 +31,7 @@ function loadBanner(divId = '1', userId = 'admin', width = 300, height = 250, co
31
31
  const imageDiv = document.createElement('div');
32
32
  imageDiv.className = 'image-div';
33
33
  if (hasImage) {
34
- imageDiv.style.backgroundImage = `url('https://gig.snapp.im/${data.image}')`;
34
+ imageDiv.style.backgroundImage = `url('${data.image}')`;
35
35
  }
36
36
 
37
37
  const textDiv = document.createElement('div');
@@ -114,6 +114,7 @@ function loadBanner(divId = '1', userId = 'admin', width = 300, height = 250, co
114
114
  color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
115
115
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
116
116
  -webkit-box-orient: vertical; -webkit-line-clamp: 2;
117
+ margin:0;
117
118
  }
118
119
  }
119
120
 
@@ -135,6 +136,7 @@ function loadBanner(divId = '1', userId = 'admin', width = 300, height = 250, co
135
136
  color: #fff !important; text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
136
137
  margin: 0; overflow: hidden; text-overflow: ellipsis;
137
138
  display: -webkit-box; -webkit-box-orient: vertical;
139
+ margin:0;
138
140
  }
139
141
  .snapp-banner-container .banner-title {
140
142
  font-weight: bold; -webkit-line-clamp: 2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdnhost",
3
- "version": "2.3.6",
3
+ "version": "2.3.8",
4
4
  "description": "cdnhost",
5
5
  "main": "index.js",
6
6
  "scripts": {