Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Fixing inconvenient styles for contextual menu. #289

Merged
merged 2 commits into from
Jan 29, 2016

Conversation

s-KaiNet
Copy link
Contributor

Solves #287

@msftclas
Copy link

Hi @s-KaiNet, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by Microsoft and real humans are currently evaluating your PR.

TTYL, MSBOT;

@@ -8,19 +8,20 @@

.ms-ContextualMenu {
.ms-font-m;
.ms-u-normalize;
.resetMargins;
.resetPadding;
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you find another bug that required removing ms-u-normalize and adding resetMargins and resetPadding?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

.ms-u-normalize contains .resetBoxShadow which is not desired, because menu has .drop-shadow. But now I see that I missed .ms-u-borderBox to copy from .ms-u-normalize. So .ms-ContextualMenu should contains all styles from .ms-u-normalize except .resetBoxShadow. Sorry for missing .ms-u-borderBox

Copy link
Contributor

Choose a reason for hiding this comment

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

No worries, would you mind adding in .ms-u-borderBox back in and committing it? It makes sense to take out .resetBoxShadow so we should be able to merge this in once border-box is set.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@mikewheaton
Copy link
Contributor

Looks good to me. We just need one more reviewer from our team to take a look and we can merge it in. Thank you!

@Jahnp
Copy link
Collaborator

Jahnp commented Jan 29, 2016

Looks great! Excited to merge this in.

mikewheaton pushed a commit that referenced this pull request Jan 29, 2016
Fixing inconvenient styles for contextual menu.
@mikewheaton mikewheaton merged commit e06006b into OfficeDev:master Jan 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants