5htp-core 0.5.1-2 → 0.5.1-3

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": "5htp-core",
3
3
  "description": "Convenient TypeScript framework designed for Performance and Productivity.",
4
- "version": "0.5.1-2",
4
+ "version": "0.5.1-3",
5
5
  "author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
6
6
  "repository": "git://github.com/gaetanlegac/5htp-core.git",
7
7
  "license": "MIT",
@@ -43,12 +43,12 @@
43
43
  align-items: center;
44
44
  justify-content: center;
45
45
  vertical-align: middle;
46
- border-radius: @radius;
46
+ border-radius: 1rem;
47
47
 
48
48
  line-height: 1.5;
49
49
  text-align: left;
50
50
 
51
- padding: 0.4em @spacing;
51
+ padding: 0.4em 0.8em;
52
52
 
53
53
  background: var(--cBgActive);
54
54
  }
@@ -124,6 +124,7 @@ export class ImageNode extends DecoratorNode<React.JSX.Element> {
124
124
 
125
125
  const img = document.createElement('img');
126
126
  figure.appendChild(img);
127
+ img.setAttribute('loading', "lazy");
127
128
  img.setAttribute('src', this.__src);
128
129
  img.setAttribute('alt', this.__altText);
129
130
  img.setAttribute('width', this.__width.toString());