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

[Menu] Wrong Border for inverted pointing menu removed and fix for secondary as color #380

Conversation

lubber-de
Copy link
Member

Description

An inverted secondary pointing menu had a border set around the whole menu instead of only at the bottom as in the non-inverted variant. This was definately wrong (copy/paste) behavior, because the border-color class was doubled and had the non-inverted variable @secondaryPointingBorderColor instead of @secondaryPointingInvertedBorderColor set (which is again done one class definition later)
I guess in those (probably rarely used) cases where this combination was used, it was used with a black background, where the border was very hard to recognize. In a whole: It simply looked wrong and inconsistent to the non-inverted variant.

Additionally I also fixed the missing inverted color loop to omit the secondary value just like in #366 because secondary is used with a different meaning in menu

Testcase

http://jsfiddle.net/efp8z6Ln/952/
Remove the CSS to see the previous behavior.

Screenshot

Before

image

After

image

Closes

Semantic-Org/Semantic-UI#4953

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 1372242 into fomantic:develop Jan 11, 2019
@lubber-de lubber-de deleted the fix/4952/secondary_pointing_menu_border_background branch January 11, 2019 09:08
@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
@exoego exoego added type/bug Any issue which is a bug or PR which fixes a bug and removed 🐛 bugfix labels May 1, 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.

None yet

4 participants