vite-plugin-react-pages icon indicating copy to clipboard operation
vite-plugin-react-pages copied to clipboard

feat(theme-doc): add copy-to-clipboard to CodeBlock

Open cijiugechu opened this issue 2 years ago • 3 comments

cijiugechu avatar Sep 13 '22 08:09 cijiugechu

Great feature! Thanks! I pushed some style tweaks. Hope you don't mind. I will merge this tomorrow, so you have time to review my commits and make more changes.

csr632 avatar Sep 13 '22 18:09 csr632

The border seems to come from browser defatult style for button (you didn't define border style, only border-radius). I don't know if it looks ok in every browser. It looks ok in Chrome: image

csr632 avatar Sep 13 '22 18:09 csr632

The border seems to come from browser defatult style for button (you didn't define border style, only border-radius). I don't know if it looks ok in every browser. It looks ok in Chrome: image

Thank you ! Hopefully with a few tweaks it will look more consistent in styles.

cijiugechu avatar Sep 14 '22 02:09 cijiugechu