# Size of an input field on click

**URL:** <https://community.silverfin.com/t/size-of-an-input-field-on-click/2085>\
**Category:** Templates\
**Created:** [April 30, 2021, 8:24am UTC](https://community.silverfin.com/t/size-of-an-input-field-on-click/2085 "2021-04-30T08:24:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brice](https://avatars.discourse-cdn.com/v4/letter/b/a3d4f5/32.png) [@Brice](https://community.silverfin.com/u/Brice)\
**Post date:** [April 30, 2021, 8:24am UTC](https://community.silverfin.com/t/size-of-an-input-field-on-click/2085/1 "2021-04-30T08:24:40Z")

</div>

Hello!

I have some `input` fields on an account template and when I click on them, all of a sudden they take all the width space.

Is there something I need to do to prevent this? I don’t encounter this problem when creating `input` fields on reconciliations.

 ![Capture d’écran 2021-04-30 à 10.16.10](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/2X/7/737b9340c49c371fa48515a30a93ef9122f86d5c.png)

Can someone explain me why this is happening?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![agustin](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/agustin/32/1207_2.png) [@agustin](https://community.silverfin.com/u/agustin)\
**Post date:** [April 30, 2021, 3:26pm UTC](https://community.silverfin.com/t/size-of-an-input-field-on-click/2085/2 "2021-04-30T15:26:28Z")

</div>

Hi Brice!

You cannot define the size of an input field. But have you tried placing it inside a table, that way you could establish the width of each column. For example:

```
{% stripnewlines %}
|---15%---
|--------+
{% newline %}
| {% input custom.some.field %}
| &nbsp;
{% endstripnewlines %}

```

If you were already using a table, then the problem could be that other columns are empty. And in that case empty column won’t be created.  
To prevent that you can see in my example I added this _ **non-breaking space** _ chracter (`&nbsp;`), so the column is no longer empty and it’s created (but you won’t see anything in it since it’s only a white space added).

I hope this helps. If not, let us know!

Kind regards.

---

<div class="post-metadata">

**Author:** ![Brice](https://avatars.discourse-cdn.com/v4/letter/b/a3d4f5/32.png) [@Brice](https://community.silverfin.com/u/Brice)\
**Post date:** [May 1, 2021, 10:26am UTC](https://community.silverfin.com/t/size-of-an-input-field-on-click/2085/3 "2021-05-01T10:26:33Z")

</div>

Hi!

This is working, but my `input field` is not vertically aligned with the text right before, like it is without a table.

![Capture d’écran 2021-05-01 à 12.24.32](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/2X/1/150a4a5411e7964c7f38a2135f4bde25be83d0fb.png)

Any fix for that?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![borjaGonzalez](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/borjagonzalez/32/825_2.png) [@borjaGonzalez](https://community.silverfin.com/u/borjaGonzalez)\
**Post date:** [May 4, 2021, 10:12am UTC](https://community.silverfin.com/t/size-of-an-input-field-on-click/2085/4 "2021-05-04T10:12:42Z")

</div>

Hi @Brice

I have raised this issue with our design team as this is not something that can be fixed in liquid at the moment. We will update you when we have an answer.

Best,  
Borja
