如何在移动设备上关闭 materialize css 容器?

How to turn off materialize css containers when on mobile?

容器 class 用于将内容限制为屏幕宽度的 70%。在中型和大型容器上非常适合我们的应用程序。

不幸的是,我们需要 100% 的小间距。有人有想法吗?

在我的代码中,我只是做了这样的事情

@media screen and (max-width: the size you need)
  .container
    width: 98%

我只是在导入 materializecss sass 并覆盖默认行为后调用它

这是他们使用的代码,您必须覆盖该代码:link