How to change width of the time field?

  • Profile Image
    kvhkommune
    Asked on June 19, 2017 at 07:39 AM

    I have a form I would like to look good on my Samsung Galaxy S8

    But the time field always get to big. I cant reduce the field. Can you help me


    A test is here:

    https://form.jotformeu.com/71693359437367

     

     

  • Profile Image
    OzanDost
    Answered on June 19, 2017 at 09:37 AM

    Hey there, 

    Time field comes quite narrow as default. Have you added anything extra like a custom css file? If not please try removing the time field and add it again to your form.

  • Profile Image
    amy
    Answered on June 19, 2017 at 10:55 AM

    Hi,

    Please inject the CSS code which I have shared with you below to your form:

    [data-type="control_time"] .form-sub-label-container {

      width: auto !important;

    }

    Here is the result:

    How to Inject Custom CSS Codes

    If you need further assistance, please let us know.

    Thank you.

    Kindest Regards.

  • Profile Image
    kvhkommune
    Answered on June 19, 2017 at 07:15 PM

    Thanks for fast reply

    I still have the same problem

    On my Galaxy S8+ it will not fit on one line.

     

    This is how it looks:

  • Profile Image
    Chriistian
    Answered on June 19, 2017 at 11:20 PM

    I checked your form (https://form.jotformeu.com/71693359437367) and I noticed that you haven't yet applied the custom CSS code that my colleague has suggested.

     

    Please add this on your Form. Here's the guide on How to Inject Custom CSS Codes. After that, here it should appear on a mobile device:

    Please let us know if you need more help.
    Regards.

  • Profile Image
    kvhkommune
    Answered on June 20, 2017 at 04:20 AM

    Thanx :)
    My mistake :)

    No it looks much better (y)