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

[Label] Link icon cursors in corner labels did not work #369

Merged

Conversation

lubber-de
Copy link
Member

Description

link icons which are contained within a corner label do not have the desired effect of setting cursor:pointer.
This is a regression since 2015 by Semantic-Org/Semantic-UI@9588488

The original intention to set cursor:default was to prevent mouse selection (according to the commit message). However i was not able to reproduce this behavior 🤔 , maybe it was a special browser fix.

To be save with this intention and still support the pointer if the label was created using an a tag, i changed the value to inherit instead.

Testcase

https://fomantic-ui.com/elements/label.html#corner

Screenshot

Unfixed

label_corner_icon_cursor

Fixed

label_corner_icon_cursor_fixed

Closes

Semantic-Org/Semantic-UI#4238
Semantic-Org/Semantic-UI#5299
Semantic-Org/Semantic-UI#3809

@lubber-de lubber-de added type/bug Any issue which is a bug or PR which fixes a bug lang/css Anything involving CSS state/awaiting-reviews Pull requests which are waiting for reviews tag/sui-issue Taken from an existing Issue/PR of SUI labels Jan 7, 2019
@lubber-de lubber-de added this to the 2.7.x milestone Jan 7, 2019
Copy link
Member

@y0hami y0hami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@ColinFrick ColinFrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@y0hami y0hami merged commit f719689 into fomantic:develop Jan 11, 2019
@lubber-de lubber-de deleted the fix/4238/corner_label_icon_cursor branch January 11, 2019 09:10
@lubber-de lubber-de modified the milestones: 2.7.x, 2.7.2 Jan 11, 2019
@lubber-de lubber-de removed the state/awaiting-reviews Pull requests which are waiting for reviews label Jan 11, 2019
@y0hami y0hami mentioned this pull request Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/css Anything involving CSS tag/sui-issue Taken from an existing Issue/PR of SUI type/bug Any issue which is a bug or PR which fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants