native-document 1.0.191 → 1.0.192

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,6 +1,6 @@
1
1
  {
2
2
  "name": "native-document",
3
- "version": "1.0.191",
3
+ "version": "1.0.192",
4
4
  "description": "A reactive JavaScript framework that preserves native DOM simplicity without sacrificing modern features",
5
5
  "author": "AfroCodeur <https://github.com/afrocodeur>",
6
6
  "license": "MIT",
@@ -189,6 +189,7 @@ FileImagePreviewMode.prototype.renderActions = function(fn) {
189
189
  * @returns {this}
190
190
  */
191
191
  FileImagePreviewMode.prototype.asAvatar = function() {
192
+ this.size(100);
192
193
  this.$description.mode = 'avatar';
193
194
  return this;
194
195
  };
@@ -6,7 +6,7 @@
6
6
  --cover-border-radius: 12px;
7
7
  --cover-overlay-bg: rgba(0, 0, 0, 0.5);
8
8
  --cover-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
9
- --file-image-preview-size: initial;
9
+ --file-image-preview-size: 100%;
10
10
  }
11
11
 
12
12
  .file-image-preview-wrapper {