Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/38.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 引导程序内联在meteor autoforms中无法按预期工作_Html_Css_Meteor_Twitter Bootstrap 3_Meteor Autoform - Fatal编程技术网

Html 引导程序内联在meteor autoforms中无法按预期工作

Html 引导程序内联在meteor autoforms中无法按预期工作,html,css,meteor,twitter-bootstrap-3,meteor-autoform,Html,Css,Meteor,Twitter Bootstrap 3,Meteor Autoform,我有以下几件玉器: +autoForm(id=decidedChargeBoxForm collection="Products" doc=this type="update" class="form-inline") +costFormGroup(name="decidedCharge") 在html中: <template name="costFormGroup"> <div class="form-group{{#if afFieldIsInvalid

我有以下几件玉器:

+autoForm(id=decidedChargeBoxForm collection="Products" doc=this type="update" class="form-inline")
    +costFormGroup(name="decidedCharge")
在html中:

<template name="costFormGroup">
    <div class="form-group{{#if afFieldIsInvalid name=name}} has-error{{/if}}">
        <div class="input-group">
            <div class="input-group-addon">$</div>
            {{> afFieldInput name=name placeholder="schemaLabel" label=false}}
        </div>
        {{#if afFieldIsInvalid name=name}}
            <span class="help-block">{{afFieldMessage name=name}}</span>
        {{/if}}
    </div>
</template>
它的工作原理和预期一样,但我不明白为什么这一步是必要的


在我的情况下,
.form inline
引导类的默认行为不应该解决这个问题吗?
我做了什么不同的事情,需要我采取额外的步骤?

引导类的
form inline
display
属性设置为
inline block
内联表
(取决于子元素上使用的其他类),但必须记住,这仅适用于视口宽度至少为768px的情况。这在引导文档的顶部附近有说明。我无法从上面的屏幕截图判断,但您的视口宽度是否至少为768px?这将是引导类规则定义未正确定义的主要原因。另外,您可能会有另一个包或您自己的CSS代码,在呈现引导类规则定义之后,以某种方式使用呈现的不同规则覆盖此行为

.form-inline {
    display: inline;
}