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 hamburger icon #9454

Merged
merged 2 commits into from
Dec 5, 2016
Merged

Conversation

abdullahsalem
Copy link
Contributor

This PR fixes a bug that has been noticed in v6.3.0-rc1. The bug disappears some Hamburger icon's bars, and the full bars only appear on hover mode

@ncoden ncoden changed the title Fixed hamburger icon Fix hamburger icon Dec 5, 2016
Copy link
Contributor

@ncoden ncoden left a comment

Choose a reason for hiding this comment

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

This bug was introduced in #9333. Sorry about that.


content: '';

@for $i from 2 through $bars {
$offset: ($weight + $spacing) * ($i - 1);
$shadow: append($shadow, 0 $offset 0 $color, comma);
}

box-shadow: $shadow;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would be more clear to keep box-shadow in the property list background, and move the logic stuff above, line 75 or 86.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For organizing purposes, I've added a new commit that moves up the related logic code to be at the top of Hamburg mixin.

Copy link
Contributor

@ncoden ncoden left a comment

Choose a reason for hiding this comment

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

👍

@kball kball merged commit 0d6802f into foundation:v6.3 Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants