-
Notifications
You must be signed in to change notification settings - Fork 933
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When a code block <ComponentSource /> does not have a title, the copy button is positioned incorrectly. This issue is visible in components that use manual installation, where a title is not rendered.
The problem does not occur when a title is present.
Affected component/components
TweetCard, Globe, Dock, and all components where title is not rendered
How to reproduce
- Go to
TweetCardcomponent docs - Switch the installation method to Manual
(or open any component that does not render a title in manual installation) - Observe CopyButton position in step 2 and 3.
This issue is present everywhere the<ComponentSource />is used without a title.
Codesandbox/StackBlitz link
No response
Logs
System Info
-Before submitting
- I've made research efforts and searched the documentation
- I've searched for existing issues
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working