348
Views
6
Comments
input widget height

how to change height of input widget, i change the css of input widget( height : 32px;) but it's not working. please help me

2018-12-01 17-54-01
Sourav Pasari

In the property panel top of it there is toggle button(sky color). Toggle it and find the css window there. There is an option to change the hight. Try it.

2018-09-27 18-20-33
Swatantra Kumar
Champion

Can you check in the css panel, if there is any other css rule overriding it?

2023-03-06 14-13-20
João Domingos

Hello Harish, first of all be sure that you are not overriding your css class with in-line style rules.

Inputs have many types, which leads to many rules that can override the basic ".input" class, specify the type of input you are using to see if you can change the height to the correct value, for example:


input[type="text"]{

     height: 100px;

}


UserImage.jpg
João Espinheira

Hi Harish, you can do this.

and after that, apply like this


i think this will help you

UserImage.jpg
Akeem Heshimu

Hello, unfortunately I tried this solution and it hasn't worked for me, but I did try using inline styling and was able to achieve what I wanted. Is there a reason why you suggested this solution, just trying to learn more about OutSystems and get a better understanding of what's best practice. 

UserImage.jpg
João Espinheira

Hi, if you wanted to give that specific container that width without messing with other classes and not having to overwrite them you can combine two classes so that they will only work when together. the form-control is generic, and i gave instructions so when those two classes meet each other together they will have that specific behaviour.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.