@blockspoon/cert-badge-renderer 1.0.36 → 1.0.37
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.
|
@@ -137,7 +137,7 @@ async function generateAchievementHTML(achievementInfo, options = {}) {
|
|
|
137
137
|
? "flex-start"
|
|
138
138
|
: "flex-end"};
|
|
139
139
|
word-break: ${type === "badge" ? "break-word" : "normal"};
|
|
140
|
-
white-space: ${type === "badge" ? "pre
|
|
140
|
+
white-space: ${type === "badge" ? "pre" : "normal"};
|
|
141
141
|
opacity: ${element.opacity || 1};
|
|
142
142
|
`;
|
|
143
143
|
if (element.controlType === "svg") {
|
|
@@ -137,7 +137,7 @@ async function generateAchievementHTML(achievementInfo, options = {}) {
|
|
|
137
137
|
? "flex-start"
|
|
138
138
|
: "flex-end"};
|
|
139
139
|
word-break: ${type === "badge" ? "break-word" : "normal"};
|
|
140
|
-
white-space: ${type === "badge" ? "pre
|
|
140
|
+
white-space: ${type === "badge" ? "pre" : "normal"};
|
|
141
141
|
opacity: ${element.opacity || 1};
|
|
142
142
|
`;
|
|
143
143
|
if (element.controlType === "svg") {
|
package/package.json
CHANGED
|
@@ -187,7 +187,7 @@ export async function generateAchievementHTML(
|
|
|
187
187
|
: "flex-end"
|
|
188
188
|
};
|
|
189
189
|
word-break: ${type === "badge" ? "break-word" : "normal"};
|
|
190
|
-
white-space: ${type === "badge" ? "pre
|
|
190
|
+
white-space: ${type === "badge" ? "pre" : "normal"};
|
|
191
191
|
opacity: ${element.opacity || 1};
|
|
192
192
|
`;
|
|
193
193
|
|