Skip to content

Commit

Permalink
slider修复ikun属性图标大小问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiamo-web66 committed Nov 22, 2024
1 parent f2edbb2 commit 802353f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/components/gitalk.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ onMounted(() => {
id: location.pathname,
labels: ['GitTalk'],
proxy: 'https://mellifluous-bombolone-049a57.netlify.app/github_access_token',
distractionFreeMode: false
distractionFreeMode: false,
}
const gitalk = new Gitalk(config)
gitalk.render('gitalk-container')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@
]
}
}
}
}
2 changes: 1 addition & 1 deletion packages/ikui-components/slider/src/slider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const onDragEnd = (e: MouseEvent) => {
const dotComputedStyle: ComputedRef<CSSProperties> = computed(() => {
const l = `${shouldPosition.value}%`
return {
left: l,
left: props.ikun ? `${Number(shouldPosition.value) - 1}%` : l,
transform: props.ikun ? `rotate(${shouldPosition.value * 36}deg)` : '',
}
})
Expand Down

0 comments on commit 802353f

Please sign in to comment.