Commit d6fe8db 1 parent 3532d5f commit d6fe8db Copy full SHA for d6fe8db
File tree 1 file changed +3
-1
lines changed
components/composer/uploader
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<Popover .Root :positioning =" {
3
3
strategy: 'fixed',
4
- }" @update:open =" o => !o && $emit('update-alt-text', fileData.alt_text) " :close-on-interact-outside =" false" >
4
+ }" @update:open =" o => !o" :close-on-interact-outside =" false" >
5
5
<Popover .Trigger aria-hidden =" true"
6
6
class =" absolute top-1 left-1 p-1 bg-dark-800 ring-1 ring-white/5 text-white text-xs rounded size-6" >
7
7
<iconify-icon icon =" tabler:alt" width =" none" class =" size-4" />
26
26
placeholder =" Describe this image for screen readers"
27
27
rows =" 5"
28
28
class =" w-full p-2 text-sm prose prose-invert bg-dark-900 rounded focus:!ring-0 !ring-none !border-none !outline-none placeholder:text-zinc-500 appearance-none focus:!border-none focus:!outline-none" />
29
+ <Popover .CloseTrigger :as-child =" true" >
29
30
<Button theme =" secondary" @click =" $emit('update-alt-text', fileData.alt_text)" class =" w-full"
30
31
:loading =" fileData.uploading" >
31
32
<span >Edit</span >
32
33
</Button >
34
+ </Popover .CloseTrigger >
33
35
</Popover .Content >
34
36
</Popover .Positioner >
35
37
</Popover .Root >
You can’t perform that action at this time.
0 commit comments