【问题标题】:Meteor and semantic stackable grid流星和语义可堆叠网格
【发布时间】:2015-08-18 00:06:31
【问题描述】:

我正在使用 Meteor 和 Semantic-ui 2,但无法让可堆叠网格在移动设备 (iPhone 6) 上工作。当我调整我的电脑屏幕大小时,一切正常,但在手机上却不行。在手机上,我有 3 列和侧面的空间(就像一个大屏幕)。它应该堆叠在一列中并使用 100% 的屏幕。据我了解,移动设备定义为 768px 以下,iPhone6 为 750px。有没有人有任何建议或答案来解决这个问题?

    <div class="ui three column stackable grid container">
        <div class="four wide column"></div>
        <div class="nine wide column"></div>
        <div class="three wide column"></div>
     </div>

【问题讨论】:

    标签: mobile meteor grid semantic-ui


    【解决方案1】:

    当我在 gitter.im 上提问时才想通 由于标题标记主要由 Meteor 处理,我忘记添加

    <meta name=viewport content="width=device-width, initial-scale=1"> 
    

    我在我的布局模板中添加了它,因为我在页面顶部使用 Iron Router 并且它有效

    【讨论】:

      猜你喜欢
      • 2015-06-17
      • 2015-04-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-10-15
      相关资源
      最近更新 更多