New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap 4 vertical alignment #28
Comments
Hi, thanks for your report! Can you provide me a link to a demo page with this issue, or send me a running HTML and CSS?
Thanks, Stefan
… Am 11.03.2019 um 21:58 schrieb jrichview ***@***.***>:
I'm using bootstrap 4 and displaying this in an html table cell. In the attached image you will note that the vertical alignment is different from the other controls in the table row. The other inputs around it are all "form-control-sm" and I have initialized as follows:
$("input[type='number']").inputSpinner({
groupClass: "input-group-sm",
buttonsWidth: "0.5rem"
});
<https://user-images.githubusercontent.com/2236908/54157507-cec16800-441e-11e9-9264-de29587c792c.JPG>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#28>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAyyeORV_DHXwEdmkesQBCzRwXQvAi33ks5vVsOEgaJpZM4bpjLN>.
|
Sure. This is just a mock-up proof of concept, but it's an an MVC app built on ASP.NET core. I published it out to a free Azure App Service which is pretty limited, but should be adequate for this purpose: https://apalacheectrpoc20190312090704.azurewebsites.net/ |
Hi,
it works, when you omit (remove) "form-control-sm“. Because this class is copied to the resulting group.
… Am 12.03.2019 um 14:14 schrieb jrichview ***@***.***>:
Sure. This is just a mock-up proof of concept, but it's an an MVC app built on ASP.NET core. I published it out to a free Azure App Service which is pretty limited, but should be adequate for this purpose: https://apalacheectrpoc20190312090704.azurewebsites.net/ <https://apalacheectrpoc20190312090704.azurewebsites.net/>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#28 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAyyeCW7yqxMeFxV6jF6wgFWE5VW9KXRks5vV6hFgaJpZM4bpjLN>.
|
Hm. Quite right. Unexpected though. I originally laid out this screen without any 3rd party controls, just what Bootstrap provides. So that class was there originally before I included your lib. Not using it might be worth a mention in the documentation. Thanks for the assist! |
Yes, maybe it would make sense to automatically converted "form-control-xx" to "input-group-xx" in the resulting element. And it should be documented. Thanks again for reporting. |
Okay, sizing with version 1.11 now works out of the box. c73ad75 No need to set the |
I'm using bootstrap 4 and displaying this in an html table cell. In the attached image you will note that the vertical alignment is different from the other controls in the table row. The other inputs around it are all "form-control-sm" and I have initialized as follows:
$("input[type='number']").inputSpinner({
groupClass: "input-group-sm",
buttonsWidth: "0.5rem"
});
The text was updated successfully, but these errors were encountered: