Padding issues with text fields in paragraphs
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3420185. -->
Reported by: [mrshowerman](https://www.drupal.org/user/3558410)
Related to !386
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Follow-up to <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/gin/-/work_items/3312656" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/gin/-/work_items/3312656</a></span>: Text fields in paragraphs have no bottom margin when only one text format is available and format info is hidden.</p>
<p><img src="https://www.drupal.org/files/issues/2024-02-08/paragraph%20text%20field%20without%20margin.png" width="600" alt="Paragraph text field without bottom margin"></p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<ul>
<li>Install modules <em>Paragraphs</em> and <em>Hide Format info (former Allowed Formats)</em></li>
<li>Add a formatted text field to a paragraph and select only one text format (e.g., Basic HTML)</li>
<li>Add another field to the same paragraph, e.g. a link field.
</li><li>In the entity form, activate the options <em>Hide the help link About text formats.</em> and <em>Hide text format guidelines.</em>. Specify the field order such that that link field is below the text field.</li>
<li>Edit a node of a type that uses the paragraph.</li>
</ul>
<p>Result: no spacing between the text and the link field.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Increase selector specifity when applying bottom margin to form items in paragraphs.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue