我希望这是一个简单的问题,我看到有些人问了关于引导程序的类似问题。我无法将这些答案之一转化为适合我的解决方案,而且我认为无论如何可能有一个更简单的反应引导答案。
代码示例在这里:https://codesandbox.io/s/yq5jvl9lz9 https://codesandbox.io/s/yq5jvl9lz9
Here's what it looks like, when the viewport is wide enough:
Here's more-or-less what I want:
对你的帮助表示感谢!谢谢,纳特
EDIT 12/22/18: Starting with the information from @Cristian below, I modified the example. I needed display: inline-block
in addition to width: 100%
. Unfortunately, at larger screen sizes, the "brand" is now mis-aligned with the menu items:
任何其他修复表示赞赏!我已将其发布为新问题 https://stackoverflow.com/questions/53900570/,所以答案可以在那里(并为接受的答案加分!)
I think className='m-auto'
at Nav
足够
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)