Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Make btns buttons, inherit font family #104

Merged
merged 2 commits into from Feb 13, 2017
Merged

Make btns buttons, inherit font family #104

merged 2 commits into from Feb 13, 2017

Conversation

alanmoo
Copy link
Contributor

@alanmoo alanmoo commented Feb 7, 2017

Normalize was resetting font family of buttons to a general sans-serif. This still has theoretical problems of inheriting fonts for specific sections, but I don’t know that it’s going to be a realistic issue for us. The other option was to set the font-family of those elements to the font variable string we use, but I don't feel like it really makes a difference, as that can lead to cascade override issues later on.

Also makes the index page use <button> instead of the fictional <btn>

Closes #102

Normalize was resetting font family of buttons to a general sans-serif. This still has theoretical problems of inheriting fonts for specific sections, but I don’t know that it’s going to be a realistic issue for us.

Also makes the index page use `<button>` instead of the fictional `<btn>`
@alanmoo alanmoo requested a review from gvn February 7, 2017 14:46
@gvn
Copy link
Contributor

gvn commented Feb 9, 2017

Can you also fix this so we retain our spacing between buttons in the demo? (Or switch to mb... classes)

https://github.com/mozilla/mofo-bootstrap/blob/master/src/scss/demo.scss#L79

gvn
gvn previously requested changes Feb 9, 2017
Copy link
Contributor

@gvn gvn left a comment

Choose a reason for hiding this comment

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

See above

@gvn
Copy link
Contributor

gvn commented Feb 9, 2017

Also a couple other buttons seem to have lost their styles based on looking at the demo page.

@alanmoo
Copy link
Contributor Author

alanmoo commented Feb 13, 2017

I updated that style and removed the buttons that were having issues from the demo page, because they weren't actually buttons that are built into bootstrap.

@gvn
Copy link
Contributor

gvn commented Feb 13, 2017

Can you also remove that CSS targeting btn that I linked above?

@alanmoo
Copy link
Contributor Author

alanmoo commented Feb 13, 2017

I changed it to .btn. You want it gone instead?

@gvn
Copy link
Contributor

gvn commented Feb 13, 2017

Oh, NM

@alanmoo alanmoo merged commit aa1a3e1 into master Feb 13, 2017
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.

None yet

2 participants