tenho um panelGrid, e quando aumento a altura dele, os componentes fica muito longe um do outro como faço para deixar mais proximo?
OBS: enquanto eu aumentar a altura do formulario, os componentes fica mais distante em termo de altura.
<h:panelGrid columns="2" id="painel" styleClass="form-cadastro-serv" >
<p:outputLabel value="cliente" style="float:right;" />
<p:inputText size="40" />
<p:outputLabel value="telefone fixo" style="float:right;"/>
<p:inputMask mask="(99) 9999-9999" size="16" />
<p:outputLabel value="cliente celular" style="float:right;"/>
<p:inputMask mask="(99) 99999-9999" size="16" />
<p:outputLabel value="veiculo" style="float:right;"/>
<p:inputText size="16"/>
<p:outputLabel value="ano" style="float:right;"/>
<p:inputMask mask="9999" size="10" />
<p:outputLabel value="cor" style="float:right;"/>
<p:inputText maxlength="10" size="11" />
<p:outputLabel value="placa" style="float:right;" />
<p:inputMask mask="aaa-9999" size="11" style="text-transform:uppercase;"/>
<p:outputLabel value="pagamento" style="float:right;"/>
<h:panelGroup>
<p:selectOneMenu>
<f:selectItem noSelectionOption="true" itemLabel="-- Selecione --"/>
<f:selectItem itemLabel="cartão" itemValue="cartão" />
<f:selectItem itemLabel="cheque" itemValue="cheque" />
<f:selectItem itemLabel="dinheiro" itemValue="dinheiro" />
</p:selectOneMenu>
</h:panelGroup>
<p:outputLabel value="valor" style="float:right;"/>
<p:inputText styleClass="moeda" size="5" />
<p:outputLabel value="descrição" style="float:right;"/>
<h:panelGroup>
<p:inputTextarea rows="5" cols="50" counter="display" maxlength="300" counterTemplate="{0} caracteres restantes." autoResize="false" style="margin-left:2px;" />
<h:outputText id="display" />
</h:panelGroup>
<p:outputLabel value="Data do serviço" style="float:right;"/>
<p:calendar pattern="dd/MM/yyyy" size="8" locale="pt_BR" effect="fold" />
<p:outputLabel value="Data da garantia" style="float:right;"/>
<p:calendar pattern="dd/MM/yyyy" size="8" locale="pt_BR" effect="fold"/>
</h:panelGrid>
*meu css
.form-cadastro-serv{
background: #f2f2f2;
border-radius: 8px;
border: 1px solid #ccc;
margin-top:10px;
height: 550px;
padding-top: 0px;
}