I'm looking to decrease the spacing between the text "Allow type of Compartment Option" and the dropdown box.
Here is the code snippet being used:
.cl-checkbox {
padding-left: 20px;
padding-bottom: 10px;
padding-top: 20px;
}
.cl-checkbox label {
padding-left: 25px;
text-indent: -25px;
padding-top: 3px;
}
.cl-checkbox input {
vertical-align: bottom;
top: -1px;
overflow: hidden;
margin: 10px 2px 0 0;
}
.form-control {
background: #d8d8e5;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-bottom: 1px solid #56565c;
/* more CSS styles for form control, form group, etc. */
}
<!-- HTML structure with form rows, checkboxes, labels, select options, etc. -->
Currently, there seems to be some excess space between the text and the dropdown box. All CSS classes are global and utilized project-wide. A new CSS class can be introduced to address this issue. Please suggest ways to minimize the gap without causing overlap, especially when the page size is reduced. Here's a link to Image 4 showing the current state.
After attempting to resolve the space issue as per @Warden330's suggestion, the row has shifted right. Image 5 shows the updated layout. View Image 5 here.