@dataloop-ai/components 0.19.188 → 0.19.189
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
|
@@ -96,10 +96,14 @@ export default defineComponent({
|
|
|
96
96
|
? stringStyleToRecord(styles.value)
|
|
97
97
|
: styles.value
|
|
98
98
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
if (isSVG.value) {
|
|
100
|
+
return Object.assign({}, generatedStyles, {
|
|
101
|
+
width: size.value,
|
|
102
|
+
height: size.value
|
|
103
|
+
})
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
return generatedStyles
|
|
103
107
|
})
|
|
104
108
|
|
|
105
109
|
const cssIconVars = computed<Record<string, string>>(() => {
|