Resizing fields affects the org unit dropdown

Hi all,

I have used the following code input[type=text] { width: 3em !important; } on my custom form for resizing fields, but it also affects the org unit dropdown as shown in the image below.

image

Is there anything wrong?

Thanks

Hey @fernando,
I think for this I’d use the class .entryfield instead! .entryfield {width: 3em;}

If you test your code in the browser’s developer tools, you will see that it is affecting all the input[type=text] in the whole page but using the class .entryfield will only affect the dataset.

Please let me know if my suggestion worked for you! Thank you! :smiley:

Hi @Gassim,

Using the class .entryfield works fine.

Thanks

1 Like

:grin: You’re welcome! Thanks ( :