For example: At /user/login both the username and password input fields include an HTML attribute size="60".
In Bartik, the fields have a fixed width.
In Bootstrap, the fields are stretched to fill the entire screen width.
Requested behavior: I would like to make Bootstrap obey the size attribute - on /user/login, and on every single other page in the website. I am not able to generate a list of all the affected pages as there are many and it will change over time.
It seems that something in Bootstrap SCSS is messing up the widths on input fields. I would like to delete that something, or override it. However I didn't yet manage to work out how to do that.
What I've found so far: There is already an issue on Drupal.org, where module maintainer markcarver says
The reason they're "stretched" full width is that they both have a form-control class. This is part of Bootstrap's design and I'm not going to fight that out-of-the-box. There are several ways to alter this form as you see fit, in a sub-theme.
What partly works but not 100% right: It would be possible to write CSS to set a new width on all inputs with form-control class of type text. That's good, but it sets the width to a fixed value such as 15em. I would like to get back the original width, which will be different on each input.