@mixd-id/web-scaffold 0.1.240411016 → 0.1.240411017

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.240411016",
4
+ "version": "0.1.240411017",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -164,11 +164,8 @@ export default{
164
164
  let reader
165
165
 
166
166
  if(typeof src === 'string') {
167
- if(src.startsWith('data:image/') || src.indexOf('<svg') >= 0);
168
- else{
169
- if(src.indexOf('://') < 0 && src.substring(0, 1) !== '/'){
170
- src = ((import.meta.env.VITE_IMAGE_HOST ?? '') + '/' + src)
171
- }
167
+ if(src.indexOf('://') < 0 && src.substring(0, 1) !== '/'){
168
+ src = ((import.meta.env.VITE_IMAGE_HOST ?? '') + '/' + src)
172
169
  }
173
170
 
174
171
  this.actualSrc = src
@@ -240,7 +237,7 @@ export default{
240
237
  <style module>
241
238
 
242
239
  .comp{
243
- @apply relative flex items-center justify-center overflow-hidden aspect-square;
240
+ @apply relative flex items-center justify-center overflow-hidden;
244
241
  }
245
242
 
246
243
  .img{