naive-ui icon indicating copy to clipboard operation
naive-ui copied to clipboard

The built-in button in Popover cannot be used with text wrapping.

Open hyp530 opened this issue 2 years ago • 1 comments

Describe the bug

As set out in the below screenshot, the button is too long without text wrapping.

image

It seems that Arco Design has a better solution: https://arco.design/vue/component/popover

Steps to reproduce

N/A

Link to minimal reproduction

Code: https://github.com/hyp530/vitepress-naiveui/blob/main/docs/markdown-examples.md?plain=1

System Info

Not relevant.

Used Package Manager

npm

Validations

hyp530 avatar Feb 12 '24 09:02 hyp530

Please provide any reprodution.

This makes it easier to recognize a problem and, if necessary, we can suggest a solution or workaround based on the example.

OrbisK avatar Feb 15 '24 17:02 OrbisK