Checkbox field width

  • Profile Image
    safeinsight
    Asked on October 07, 2016 at 11:39 AM

    Our checkbox fields and "Participant Name" fields just "magically" shrunk on their own out of the blue.  They have been working fine for some time prior to this.  

     

    We have tried everything including confirming that they were not checked to "shrink", adjusting width of form, and injecting custom CSS.  Nothing is working.

  • Profile Image
    Jan
    Answered on October 07, 2016 at 01:38 PM

    The problem is that there is a max-width of 180px assigned to those fields. We can fix this by setting the max-width to none. Please insert this CSS code in your form:

    .form-radio-item, .form-checkbox-item {
       max-width: none !important;
    }

    [data-type="control_radio"] .form-input, [data-type="control_checkbox"] .form-input, [data-type="control_radio"] .form-input-wide, [data-type="control_checkbox"] .form-input-wide {
       max-width: none !important;
    }

    Here's a guide on How-to-Inject-Custom-CSS-Codes. Here's the result:

    If you have any questions, let us know. Thank you.

  • Profile Image
    Jan
    Answered on October 07, 2016 at 01:47 PM

    I apologize, I forgot to provide the CSS fix for the "Participant Name" field. Please add this CSS code:

    .form-input, .form-address-table, .form-matrix-table {
       max-width: none !important;
    }

    Thank you.