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

Feat/sharing label #63

Merged
merged 1 commit into from
Jan 16, 2020
Merged

Feat/sharing label #63

merged 1 commit into from
Jan 16, 2020

Conversation

edas
Copy link
Contributor

@edas edas commented Jan 9, 2020

Show the labelonsharing button for views > 1024px
We strip it on smaller views to leave space for the prosemirror toolbar.

Two things for which comments are welcome :

  • I sharing.styl I use a css rule to hide the label of the sharing button. This rule have to know how we render the button internals. I plan to add wrapper around the label in cozy-sharing, and a props allowing to inject a classname for this wrapper. Would this be ok for you?

  • In index.css line 102-107 we have a useless block. Removing it would make the following block ignored. This is usually because of a syntax error above, but I fail to see where.
    This dirty hack was already present before this change, from the proof of concept, but I would welcome suggestions to remove it now.

@edas edas force-pushed the feat/sharing-label branch from e01b73f to bb3f24e Compare January 9, 2020 12:05
@edas edas force-pushed the feat/sharing-label branch from bb3f24e to 4e6f6c5 Compare January 14, 2020 09:27
@y-lohse
Copy link
Contributor

y-lohse commented Jan 14, 2020

I plan to add wrapper around the label in cozy-sharing, and a props allowing to inject a classname for this wrapper. Would this be ok for you?

Not sure about the wrapper, but a prop to inject classnames is definitely welcome!

@edas edas merged commit 82932e4 into master Jan 16, 2020
@delete-merged-branch delete-merged-branch bot deleted the feat/sharing-label branch January 16, 2020 16:28
cozy-bot pushed a commit that referenced this pull request Jan 16, 2020
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