Date/time layout not displaying correctly

  • vitaskinspa
    Asked on January 6, 2022 at 8:49 AM

    Hi,

    My date/time section is displaying squashed up and its hard to read the numbers, can you tell me whats wrong? It displays fine on the jotform builder, but is not correct on a browser or phone..


    1641476867 61d6f303ee8b7 Screen Shot 202 Screenshot 101641476867 61d6f303c3070 Screen Shot 202 Screenshot 21

  • Saeed Support Team Lead
    Replied on January 6, 2022 at 9:27 AM

    Hi there - Thanks for reaching out to support.

    The following CSS should resolve the problem with the date field:

    You can click here to see how to inject CSS into your form.

    span.allowTime-container {

     width: 100% !important;

    }

    span.allowTime-container > span:first-child {

     display: block !important;

    }

    li[data-type="control_datetime"] input.form-textbox {

     padding: 5px !important;

    }

    #hour_108 {

     width: 100px !important;

     padding: 5px;

    }

    #min_108 {

     width: 100px;

     padding: 5px;

    }

    Output:

    1641479159 61d6fbf7e9374  Screenshot 10

    Let us know if this solution works for you.