Sidebar toggle is not the last button in the row
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3292621. -->
Reported by: [dieterholvoet](https://www.drupal.org/user/3567222)
Related to !156
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The sidebar toggle is not the last button in the row, the Content Lock module's unlock button comes after.</p>
<p><img src="https://www.drupal.org/files/issues/2022-06-25/CleanShot%202022-06-25%20at%2011.45.21%402x.png" alt="Screenshot"></p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<ol>
<li>Install <a href="https://www.drupal.org/project/content_lock">Content Lock</a> </li>
<li>Enable the module for nodes and check the <em>Lock form using JS</em> option</li>
<li>Visit a node edit form. The Unlock button will be placed after the sidebar toggle because action weights are not available when inserting buttons in JS.</li>
</ol>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Maybe move the toggle to the parent container, <code>.gin-sticky</code>? That way it will always be last.</p>
issue