Skip to content
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

fix: sharebutton visible on desktop #377

Merged
merged 4 commits into from
Feb 26, 2025

Conversation

bazuka5801
Copy link
Contributor

@bazuka5801 bazuka5801 commented Feb 24, 2025

depends on diplodoc-platform/client#106

5 mo ago fix for share button was in css, but now with new "bundle systems" something happened.
class with g-button is primary instead of share-button class (fixing share button visibility on mobile)
Solution: use isMobile
Yeah, I can fix it via css, but it should be in js I think, because we reduce rendering time 🚀

Also I updated demo (storybook) with isMobile support via useMobile hook

@yc-ui-bot
Copy link
Contributor

Visual Tests Report is ready.

@martyanovandrey martyanovandrey merged commit d93594a into master Feb 26, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants