-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The copy button is displayed weirdly #1
Comments
Hi, Thanks for the feedback :) You're right i totally forgot about other plugins, sorry about that. I took your advice and put the button at the bottom right like other plugins. I'm waiting for your confirmation before closing this issue :) |
Indeed, bottom right might not be the best idea :( If you're using panels on the right, then because of the size of the jsx text, then you need to scroll right. Putting it at the top left make maybe more sense for this action. What do you think? I'm sorry about that. |
I think i have an idea and can put the button in the title of the panel (it accept Component apparently). I'll do that in the evening :) |
So i put the button in the title of the panel and it works fine. Only problem is, storybook doesn't center his title, so mine is centered but other title are not aligned. I made an issue on storybook and I am working with them on a PR to fix the issue. |
The PR in storybook as been merged. I don't know when it's going to be publish but it should be good and all titles will be centered now :) Let me now if you have any problems or questions :) Can we close this issue ? :) |
@mthuret And thanks again for the feedback :) |
Hi,
I tried to add your nice addon, but the copy button is messing with other addons, see:
Maybe it would be better to put it like the action logger does, at the bottom right?
The text was updated successfully, but these errors were encountered: