工具提示未正确对准组件

时间:2018-12-13 12:57:00

标签: html css reactjs material-ui material-ui-next

我使用了材料UI响应库,当我想在Flex容器中分离组件时,使用marginLeft: 'auto'justifyContent: 'space-between'时工具提示无法正确对齐。

https://codesandbox.io/s/z65yyvlj3l

预期的行为: 工具提示应位于加号图标按钮顶部的中心 当前行为: 当按钮在flex容器中向右对齐时,工具提示将移至顶部的左侧。

enter image description here

enter image description here

0 个答案:

没有答案
相关问题