Home > Software engineering >  How to reduce line height using materialize css input fields
How to reduce line height using materialize css input fields

Time:12-26

I would like to reduce the line high. This is my Html code: [The picture shows the results. Line spacing is high][1]

[1]: margin with .row

  • here margin-bottom:1rem in input-field class. margin .input-field.col.s2

  • here margin-bottom:8px in input field. margin with input field

  • you have to change their margin. if materializecss have a class like .m-0 means margin:0; like bootstrap then you have to use that else you have to use custom CSS to set every element's margin-bottom:0;

    CodePudding user response:

    Thanks to all who helped to solve this issue. For others i would like to inform the solution. It needs to change margin for both row & input as below:

    • Related