-
leashalive89Asked on April 26, 2024 at 12:05 PM
-
Christopher JotForm SupportReplied on April 26, 2024 at 12:55 PM
Hi leashalive89,
Thank you for reaching out to Jotform Support. It is not possible to adjust the height of the table cell for the Date field, since both Date and Activity fields belong to the same Configurable List widget. If you would like to move the date value to the top part of the cell, this can be done with the provided CSS code.
/*Set vertical alignment of date field to top - 14305991*/
[data-qid="62"] > div:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(1) {
vertical-align: top !important;
}
/*Code ends here*/
Here's how to do it:
1. In Form Builder, on the right side of the screen, click on the Paint Roller icon.
2. On the right panel, go to Styles.
3. Scroll down to Inject Custom CSS.
4. Paste the provided CSS code.
Result:
Give it a try and let us know how it goes.
-
Mafe_M JotForm SupportReplied on April 26, 2024 at 1:13 PM
Hi leashalive89,
Thank you for reaching out to Jotform Support. You can adjust the height of the text area since. Please use this code:
#listContainer .form-textarea {
height: 40px;
}
Here is how to do it:
- In Form Builder, click the configurable list widget and click the wand icon.
- Go to Custom CSS and input the code provided above.
- Click Update Widget to save the changes.
Give it a try and let us know how it goes.
-
leashalive89Replied on April 26, 2024 at 4:48 PM
That change works, but I also want the width of the date box to be smaller, not the height of the box. Similar to this example.
-
Mafe_M JotForm SupportReplied on April 26, 2024 at 5:43 PM
Hi leashalive89,
Thanks for getting back to us. Please try this code:
[data-qid="62"] > div:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(1) {
vertical-align: top !important;
width: 50%;
min-width: 50% !important;
}
Give it a try and let us know how it goes.
-
leashalive89Replied on May 2, 2024 at 4:14 PM
That did not change anything to the width of either box.
-
Mafe_M JotForm SupportReplied on May 2, 2024 at 5:00 PM
Hi leashalive89,
Thanks for getting back to us. Please try this code:
[data-qid="62"].table-col
{
width: 70%;
min-width:70%;
}
Give it a try and let us know how it goes.