# Extra button is not aligned in narrow desktop view

**URL:** https://meta.discourse.org/t/extra-button-is-not-aligned-in-narrow-desktop-view/248881
**Category:** UX
**Created:** [December 14, 2022, 5:09am UTC](https://meta.discourse.org/t/extra-button-is-not-aligned-in-narrow-desktop-view/248881 "2022-12-14T05:09:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![topological](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@topological](https://meta.discourse.org/u/topological)
#### Post date: [December 14, 2022, 5:09am UTC](https://meta.discourse.org/t/extra-button-is-not-aligned-in-narrow-desktop-view/248881/1 "2022-12-14T05:09:00Z")

</div>

I use the plugin api `addPostMenuButton` to add an extra button, but it is not aligned with others when `show-replies` button exists and view in narrow desktop window. This is not reproduced in mobile view.

![image](https://global.discourse-cdn.com/meta/original/4X/8/5/a/85af522b3e3fc11b703807217758725c8d615b96.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/2/8/d2815f7504a5a58eb229504734829d5d9197437b.png)

I try to change the DOM, move button outside `extra-buttons` wrapper and it looks aligned.

![image](https://global.discourse-cdn.com/meta/original/4X/b/1/8/b187859f56258518735846d130dadf3f89d1015a.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/8/6/f86ae7fa51692d2c080d2d7e13616e5253b8335b.png)

* * *

BTW, the backgroung of like button is not the same size with other buttons, seems a litte inconsistent.

![image](https://global.discourse-cdn.com/meta/original/4X/0/8/3/083a790de47496ed8a98479cabdf8562b999a94c.png)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/6/f/4/6f4fb9a540f1a0a79428de39cd42937efa70e33e.png)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/4/9/3/49393de01bc7cfe8b590e489f336a54f1b92bbde.png)
