简体   繁体   English

Bootstrap .form-control和RecurlyJS iframe

[英]Bootstrap .form-control and RecurlyJS iframe

Thank you for your kind reading my question. 感谢您阅读我的问题。 I have trouble in aligning layout of Recurly subscription form. 我在对齐Recurly订阅表单的布局时遇到麻烦。

In the screenshot, the first 4 items are using .form-control which has inside it. 在屏幕截图中,前4个项目使用的是.form-control。 These s are loaded by Recurly JS code after page is loaded. 这些是在页面加载后由Recurly JS代码加载的。

I tried to make sure height: 32px for those element as well, but I could not figure out why the height of gaps differ than the below ones. 我试图确保高度:也为那些元素设置了32px,但是我不知道为什么间隙的高度不同于下面的间隙。 I want them to be same as the below ones. 我希望它们与以下相同。

http://paulz.dev.biznessapps.com/global/signup_subscribe?plan=mobileapp59 http://paulz.dev.biznessapps.com/global/signup_subscribe?plan=mobileapp59

注册表格

I used Recurly JS v4. 我使用了Recurly JS v4。 https://js.recurly.com/v4/recurly.js https://js.recurly.com/v4/recurly.js

Thank you! 谢谢! Paul 保罗

you can customise styling on input fields as in here. 您可以在此处自定义输入字段的样式。

https://dev.recurly.com/docs/getting-started-1#section-styling-card-fields https://dev.recurly.com/docs/getting-started-1#section-styling-card-fields

Please try this code 请尝试此代码

  iframe {
        height: 26px!important;
    }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Bootstrap 3表单控件不堆叠 - Bootstrap 3 form-control not stacking Bootstrap 3表单控件类问题? - Bootstrap 3 form-control class issue? Bootstrap-如何添加 <select class=“form-control”>动态地在JavaScript中? - Bootstrap - How to add <select class=“form-control”> dynamically in JavaScript? 引导程序3:绝对位置不适用于表单控件类 - bootstrap 3: position absolute not work with form-control class 如何将引导发光(用于“ form-control” CSS类中)放在div上? - How to put bootstrap glow (used in the 'form-control' CSS class) on a div? 使用 autoForm、Bootstrap 4 时,'form-control' class 在哪里设置? - Where does the 'form-control' class get set when using autoForm, Bootstrap 4? Bootstrap中的FORM-CONTROL类在数据表中使用时不会生效 - Class FORM-CONTROL in Bootstrap dont take effect when used in datatables 预填充 <select multiple>形式控制 - Prepopulating <select multiple> form-control 为什么我不能使用bootstrap class form-control在元素内添加另一个类? 如果我添加但它不起作用 - Why I can't add another class inside my element with bootstrap class form-control? if I add but it does not work 如何设置条纹元素 CSS 以匹配引导程序表单控件输入 CSS 属性的大小、垂直对齐、焦点等 - How to set a Stripes element CSS to match a bootstrap form-control input CSS properties for size, vertical alignment, focus, etc
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM