Skip to content

Commit

Permalink
fix: adapt watermark zIndex value
Browse files Browse the repository at this point in the history
  • Loading branch information
flingyp committed Oct 24, 2023
1 parent 61cc00d commit 13a3d7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/features/Watermark.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const { contentContainerHeight, themeMode } = storeToRefs(useVAdmireConfigStore(
const watermarkOptions = ref({
text: 'VAdmire Admin',
fontColor: '#000',
zIndex: 1,
})
watch(() => themeMode.value, (newVal) => {
Expand All @@ -14,7 +15,7 @@ watch(() => themeMode.value, (newVal) => {
} else {
watermarkOptions.value.fontColor = '#fff'
}
})
}, { immediate: true })
</script>

Expand Down

0 comments on commit 13a3d7d

Please sign in to comment.