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 NcButton cursor style #3728

Merged
merged 1 commit into from
Feb 8, 2023
Merged

Conversation

raimund-schluessler
Copy link
Contributor

Nextcloud server has a CSS rule span { cursor: default; } that would sometimes (depending on the order in which the bundle is loaded) overwrite the button cursor style. This should make it more explicit so it takes precedence over the server style.

@raimund-schluessler raimund-schluessler added bug Something isn't working 3. to review Waiting for reviews design Design, UX, interface and interaction design feature: button labels Feb 6, 2023
@raimund-schluessler raimund-schluessler added this to the 7.6.0 milestone Feb 6, 2023
@raimund-schluessler raimund-schluessler marked this pull request as ready for review February 6, 2023 15:05
@susnux
Copy link
Contributor

susnux commented Feb 6, 2023

So this is for span elements within the slots?

@raimund-schluessler
Copy link
Contributor Author

So this is for span elements within the slots?

Well, it's supposed to be for the material design icon spans. But if you are worried that it messes with spans you put in the slot, I think it should also work without the :deep().

@susnux
Copy link
Contributor

susnux commented Feb 6, 2023

No i just wondered why the :deep is required other than for nesting components.

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
@raimund-schluessler
Copy link
Contributor Author

No i just wondered why the :deep is required other than for nesting components.

Yes, I used it for the nested material design icons, just to be sure. But it seems to work without it as well, so I removed it now.

@raimund-schluessler raimund-schluessler merged commit 15d26b6 into master Feb 8, 2023
@raimund-schluessler raimund-schluessler deleted the fix/noid/button-cursor branch February 8, 2023 20:05
@Pytal Pytal mentioned this pull request Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working design Design, UX, interface and interaction design feature: button
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants