Skip to content

Commit

Permalink
Fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
graphieros committed Oct 4, 2024
1 parent 8f7ca11 commit 3bc85bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/vue-ui-sparkbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ function selectDatapoint(datapoint, index) {
textAlign: ['left', 'right'].includes(FINAL_CONFIG.style.labels.name.position) ? 'left' : ['top', 'top-left'].includes(FINAL_CONFIG.style.labels.name.position) ? 'left' : FINAL_CONFIG.style.labels.name.position === 'top-center' ? 'center' : 'right'
}"
>
{{ FINAL_CONFIG.style.labels.name.position }}
<span :data-cy="`sparkbar-name-${i}`">{{ bar.name }}</span>
<span
:data-cy="`sparkbar-value-${i}`"
Expand Down
2 changes: 1 addition & 1 deletion src/useConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -1823,7 +1823,7 @@ export function useConfig() {
labels: {
fontSize: FONT._16,
name: {
position: POSITION.TOP,
position: 'top-left',
width: '100%',
color: COLOR_BLACK,
bold: false
Expand Down

0 comments on commit 3bc85bf

Please sign in to comment.