@blockspoon/cert-badge-renderer 1.0.47 → 1.0.49
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.
|
@@ -206,13 +206,9 @@ async function generateAchievementHTML(achievementInfo, options = {}) {
|
|
|
206
206
|
left: ${element.x}px;
|
|
207
207
|
width: ${element.width}px;
|
|
208
208
|
height: ${element.height}px;
|
|
209
|
-
isolation: isolate;
|
|
210
209
|
display: flex;
|
|
211
210
|
align-items: center;
|
|
212
211
|
justify-content: center;
|
|
213
|
-
will-change: transform, contents;
|
|
214
|
-
transform: translateZ(0);
|
|
215
|
-
backface-visibility: hidden;
|
|
216
212
|
`;
|
|
217
213
|
html += `<div style="${optimizedStyles}">`;
|
|
218
214
|
const svgString = template.Component({
|
|
@@ -206,13 +206,9 @@ async function generateAchievementHTML(achievementInfo, options = {}) {
|
|
|
206
206
|
left: ${element.x}px;
|
|
207
207
|
width: ${element.width}px;
|
|
208
208
|
height: ${element.height}px;
|
|
209
|
-
isolation: isolate;
|
|
210
209
|
display: flex;
|
|
211
210
|
align-items: center;
|
|
212
211
|
justify-content: center;
|
|
213
|
-
will-change: transform, contents;
|
|
214
|
-
transform: translateZ(0);
|
|
215
|
-
backface-visibility: hidden;
|
|
216
212
|
`;
|
|
217
213
|
html += `<div style="${optimizedStyles}">`;
|
|
218
214
|
const svgString = template.Component({
|
package/package.json
CHANGED
|
@@ -259,13 +259,9 @@ export async function generateAchievementHTML(
|
|
|
259
259
|
left: ${element.x}px;
|
|
260
260
|
width: ${element.width}px;
|
|
261
261
|
height: ${element.height}px;
|
|
262
|
-
isolation: isolate;
|
|
263
262
|
display: flex;
|
|
264
263
|
align-items: center;
|
|
265
264
|
justify-content: center;
|
|
266
|
-
will-change: transform, contents;
|
|
267
|
-
transform: translateZ(0);
|
|
268
|
-
backface-visibility: hidden;
|
|
269
265
|
`;
|
|
270
266
|
|
|
271
267
|
html += `<div style="${optimizedStyles}">`;
|