- Issue created by @stefan.korn
The "file" and "file_managed" do not get bootstrap classes as per Bootstrap Examples. This results in poor styling of the file dialog (not bootstrap like).
add a "file" oder "file_managed" element to your form or use for example a file upload widget somewhere (file field, image field, media).
add necessary classes via theme preprocessing
This would also help a bit with
🐛
Media Library styling broken
Active
by styling the file dialog there too.
This would conflict with
🐛
Checkboxes and radios should conform to Bootstrap examples
Active
as this MR also uses the preprocess_form_element hook. Either this MR or
🐛
Checkboxes and radios should conform to Bootstrap examples
Active
MR would have to be changed after the other MR is applied.
This is screenshot before:
This is screenshot after:
Active
4.0
Code