i have an block which I want to adapt to newer moodle versions. I am quite new to plugin development so I am asking.
The plugin uses a form control for user input. These was nicely displayed until moodle version 3.7.
Now with 3.8 and 3.9 there was the following css rule added to form-control: height: calc(1.5em + .75rem + 2px);
This leeds to an ugly layout of the form-control (see picture).
Question is: what is the moodle way to deal with this as I cannot change the theme itself. Should I create my own form control class and use it and skip the other completely?
And what is the sense behind the calculated css height?
Thanks and regards