I am using panelGrid for this UI. Please fetch the code and Ui below and lt me know where I can add the css in order to increase the spaces between the rows. I have used rowclasses attribute in the panelGrid but it had no effect.
<apex:page standardController="Voucher__c" recordSetVar="comp" extensions="CreateComp_Controller" docType="html-5.0" lightningstylesheets="true">
<style>
.pannelConfigs {
margin-left: 150px;
}
.rowConfigs {
padding: 300px;
padding-bottom: 300px;
margin-bottom: 300px;
}
</style>
<apex:form >
<apex:pageBlock title="Create Component" mode="edit">
<apex:pageBlockSection id="E-voucher" title="E-Voucher" >
<apex:panelGrid columns="2" rowClasses="rowConfigs" styleClass="pannelConfigs" width="200%" >
<apex:panelGroup >
<apex:outputLabel value="Voucher 1" />
<apex:inputField value="{!comp.Voucher_1__c}" /> <br/>
</apex:panelGroup>
<apex:panelGroup >
<apex:outputLabel value="Voucher Amount 1" />
<apex:inputField value="{!comp.Voucher_Amount_1__c}" />
</apex:panelGroup>
<apex:panelGroup >
<apex:outputLabel value="Voucher 2" />
<apex:inputField value="{!comp.Voucher_2__c}" /> <br/>
</apex:panelGroup>
<apex:panelGroup >
<apex:outputLabel value="Voucher Amount 2" />
<apex:inputField value="{!comp.Voucher_Amount_2__c}" />
</apex:panelGroup>
<apex:panelGroup >
<apex:outputLabel value="Voucher 3" />
<apex:inputField value="{!comp.Voucher_3__c}" /> <br/>
</apex:panelGroup>
<apex:panelGroup >
<apex:outputLabel value="Voucher Amount 3" />
<apex:inputField value="{!comp.Voucher_Amount_3__c}" />
</apex:panelGroup>
</apex:panelGrid>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>