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

Child icons font-size #53

Open
jayagl opened this issue Aug 26, 2015 · 0 comments
Open

Child icons font-size #53

jayagl opened this issue Aug 26, 2015 · 0 comments

Comments

@jayagl
Copy link

jayagl commented Aug 26, 2015

It's a very small thing, but I thought I should mention it.

There is no nice way to customise the size of the icons on child buttons using SASS without changing the whole button size, as it overwrites $icons-font-size used in .mfb-component__icon

.mfb-component__child-icon,
.mfb-component__child-icon{
  @extend .mfb-component__icon;
  line-height: $child_button_size;
  font-size: 18 / 56 * $child_button_size;
}

I just removed the font-size line to make it work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant