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

Consider removing float: left; and display: block; from inline list items #16

Open
jfurrow opened this issue Aug 31, 2016 · 0 comments
Open

Comments

@jfurrow
Copy link
Contributor

jfurrow commented Aug 31, 2016

https://github.com/mesosphere/canvas/blob/745b7b86b7d2c405d27359909c9cc0e98a69bc74/styles/components/typography.less#L4283-L4284

I'm finding that I have to override these properties often; do you think they're necessary? Additionally, the specificity is really high so it's particularly painful to override.

Using display: inline-block; is a little more flexible for our use case because we can set white-space: nowrap; to prevent wrapping.

@jfurrow jfurrow changed the title Consider removing float: left from inline lists Consider removing float: left; and display: block; from inline list items Aug 31, 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

No branches or pull requests

1 participant