diff --git a/docs/app/components/content/ComponentExample.vue b/docs/app/components/content/ComponentExample.vue index f4200b74..8004fbc1 100644 --- a/docs/app/components/content/ComponentExample.vue +++ b/docs/app/components/content/ComponentExample.vue @@ -132,7 +132,11 @@ const optionsValues = ref(props.options?.reduce((acc, option) => { return acc }, {} as Record) || {}) -const urlSearchParams = computed(() => new URLSearchParams({ ...optionsValues.value, ...componentProps, width: width.value.toString() }).toString()) +const urlSearchParams = computed(() => new URLSearchParams({ + ...optionsValues.value, + ...componentProps, + width: Math.round(width.value).toString() +}).toString())