Dropbutton actions form element is styled incorrectly
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3224124. -->
Reported by: [joachim](https://www.drupal.org/user/107701)
Related to !42
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Action dropbuttons show too much space:</p>
<p><img src="https://www.drupal.org/files/issues/2021-07-18/Screenshot%202021-07-18%20at%2007.33.44.png" alt=""></p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Put this code in a form:</p>
<pre> $actions['submit'] = array(<br> '#type' => 'submit',<br> '#value' => $this->t('Save'),<br> '#dropbutton' => 'mb',<br> '#submit' => array('::submitForm', '::save'),<br> );<br> $actions['submit_next'] = array(<br> '#type' => 'submit',<br> '#value' => $this->t('Save and go to next page'),<br> '#dropbutton' => 'mb',<br> '#submit' => array('::submitForm', '::save'),<br> );<br> $actions['submit_generate'] = array(<br> '#type' => 'submit',<br> '#value' => $this->t('Save and generate code'),<br> '#dropbutton' => 'mb',<br> '#submit' => array('::submitForm', '::save'),<br> );<br> $form['actions'] = array(<br> '#type' => 'actions',<br> );<br> $form['actions'] += $actions;</pre><h3 id="summary-proposed-resolution">Proposed resolution</h3>
<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