Skip to content

Commit

Permalink
clean up input css
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteenkamp89 committed Apr 10, 2024
1 parent 00d5f8c commit 5aa9fa7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/Ui/UiInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,15 @@ onMounted(() => {
</div>
<div
:class="[
's-error relative z-0 flex justify-start',
's-error relative z-0',
!!error ? '-mt-[20px] opacity-100' : '-mt-[48px] opacity-0'
]"
>
<BaseIcon name="warning" class="text-red-500 mr-2" />
<!-- The fact that error can be bool or string makes this necessary -->
{{ error || '' }}
<!-- Allow parent to format value with action -->
<button
v-if="quickFix"
class="ml-auto flex items-center gap-1 h-full px-1 rounded-full"
@click="quickFix"
>
<button v-if="quickFix" class="ml-auto" @click="quickFix">
Quick Fix
<i-ho-sparkles class="inline" />
</button>
Expand Down

0 comments on commit 5aa9fa7

Please sign in to comment.