【发布时间】:2020-07-17 07:41:27
【问题描述】:
问题 1:如何在 Typography 保持在左侧时将容器 div 水平居中?
想要的结果:
问题2:如何在不使用margin-top或transform: translate的情况下自动将任何组件放在AppBar下方?
这里是代码:https://codesandbox.io/s/mui-drawer-bpskw?file=/src/components/what_is_covid/about.module.css
【问题讨论】:
-
您的链接只显示导航栏
-
@NicoShultz 因为它是主页,文本隐藏在 AppBar 下,我没有应用 margin-top
-
您可以通过点击顶部的
menu icon切换到不同的组件
标签: css flexbox material-ui