Material-ui: 文档:展示柜-更改“排序依据”时布局发生变化

创建于 2019-04-07  ·  3评论  ·  资料来源: mui-org/material-ui

bug 🐛 docs good first issue

最有用的评论

@thomasnordquist感谢您报告此问题,我的屏幕太小,无法重现。
我提议此修复程序:

--- a/docs/src/pages/discover-more/showcase/Showcase.js
+++ b/docs/src/pages/discover-more/showcase/Showcase.js
@@ -17,6 +17,7 @@ import appList from './appList';

 const styles = theme => ({
   root: {
+    flexGrow: 1,
     backgroundColor: theme.palette.background.default,
     // Hide the demo container padding
     margin: -theme.spacing(3),

它能为您解决问题吗? 您要提交拉取请求吗? :)

所有3条评论

@thomasnordquist感谢您报告此问题,我的屏幕太小,无法重现。
我提议此修复程序:

--- a/docs/src/pages/discover-more/showcase/Showcase.js
+++ b/docs/src/pages/discover-more/showcase/Showcase.js
@@ -17,6 +17,7 @@ import appList from './appList';

 const styles = theme => ({
   root: {
+    flexGrow: 1,
     backgroundColor: theme.palette.background.default,
     // Hide the demo container padding
     margin: -theme.spacing(3),

它能为您解决问题吗? 您要提交拉取请求吗? :)

该修补程序为我解决了。 (我在浏览器中对其进行了测试)

@joshwooding谢谢您的测试。
我可以确认该补丁已解决布局问题。 我打开了一个PR(在此评论上方刚刚提到)。

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

finaiized picture finaiized  ·  3评论

chris-hinds picture chris-hinds  ·  3评论

mattmiddlesworth picture mattmiddlesworth  ·  3评论

anthony-dandrea picture anthony-dandrea  ·  3评论

activatedgeek picture activatedgeek  ·  3评论