fix max-width for inline-block in firefox