mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
refactor: use tailwind pseudo-element variants instead of style block
This commit is contained in:
@@ -29,7 +29,9 @@
|
||||
ref="popoverRef"
|
||||
append-to="body"
|
||||
:pt="{
|
||||
root: { class: 'no-arrow-popover' },
|
||||
root: {
|
||||
class: 'before:hidden after:hidden [&_.p-popover-arrow]:hidden'
|
||||
},
|
||||
content: { class: 'p-0 shadow-lg' }
|
||||
}"
|
||||
@show="fixPopoverIntoViewport"
|
||||
@@ -162,11 +164,3 @@ watch(
|
||||
}
|
||||
)
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.no-arrow-popover::before,
|
||||
.no-arrow-popover::after,
|
||||
.no-arrow-popover .p-popover-arrow {
|
||||
display: none !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user