Loading

Space Between Label and Input for Long Text Area Fields in Compact Density

Udgivelsesdato: May 18, 2026
Beskrivelse

When Dynamic Forms is enabled and the display density is set to "Compact," the field name of a long text area field is displayed on the left edge, and the input field is positioned toward the right edge. This can result in a large gap between the field name and the input field when using a horizontal layout such as a single-column layout. This is currently the expected behavior in Salesforce.

Løsning

This article explains how to resolve the large gap that appears between a long text area field's label and its input box when Dynamic Forms is enabled and Display Density is set to Compact.

Switch Display Density to Comfy

Change the Display Density from Compact to Comfy. Comfy density places the field label above the input box instead of beside it, using the full width of the layout and removing the gap.

  1. Click your profile icon.
  2. Under Display Density, select Comfy.

For example, on a single-column record page with a long text area field like Description, switching to Comfy stacks the "Description" label directly above the text box instead of leaving it stranded on the far left with empty space before the box begins.

Vidensartikelnummer

004052206

 
Indlæser
Salesforce Help | Article