Skip to content

Commit

Permalink
Right way around
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytv committed Apr 25, 2024
1 parent e16df88 commit 2f584b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/design/Alert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const color = computed(() => {
</script>

<template>
<div :class="'flex flex-row items-center rounded-md p-4 text-white dark:text-black border-l-6 border-solid ' + color">
<div :class="'flex flex-row items-center rounded-md p-4 text-black dark:text-white border-l-6 border-solid ' + color">
<slot name="icon" clazz="mr-3 w-8 h-8 min-w-8">
<IconMdiAlert v-if="props.type === 'danger'" class="mr-3 w-8 h-8 min-w-8" />
<IconMdiAlertBox v-else-if="props.type === 'warning'" class="mr-3 w-8 h-8 min-w-8" />
Expand Down

0 comments on commit 2f584b8

Please sign in to comment.