Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 13, 2024
1 parent be2cd7b commit 9c6d165
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions packages/vue/src/palette/PaletteInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,25 +118,25 @@ export default /* @__PURE__ */ defineComponent({
}, [
this.type === 'hex'
? h('label', {
style: {
display: 'flex',
alignItems: 'center',
flex: '1',
borderRight: '1px solid #3c3c3c',
},
}, [
h('input', {
value: this.hexV,
style: {
textAlign: 'center',
outline: 'none',
backgroundColor: 'transparent',
width: '100%',
display: 'flex',
alignItems: 'center',
flex: '1',
borderRight: '1px solid #3c3c3c',
},
type: 'text',
onInput: (e: Event) => this.hexV = (e.target as HTMLInputElement).value,
}),
])
}, [
h('input', {
value: this.hexV,
style: {
textAlign: 'center',
outline: 'none',
backgroundColor: 'transparent',
width: '100%',
},
type: 'text',
onInput: (e: Event) => this.hexV = (e.target as HTMLInputElement).value,
}),
])
: [
h('label', {
style: {
Expand Down

0 comments on commit 9c6d165

Please sign in to comment.