# Wrong display on mobile

**URL:** https://meta.discourse.org/t/wrong-display-on-mobile/405086
**Category:** UX
**Tags:** custom-header-links, fixed
**Created:** [June 11, 2026, 4:08pm UTC](https://meta.discourse.org/t/wrong-display-on-mobile/405086 "2026-06-11T16:08:45Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [June 11, 2026, 4:49pm UTC](https://meta.discourse.org/t/wrong-display-on-mobile/405086/2 "2026-06-11T16:49:52Z")

</div>

I think it’s the way the padding on the link wraps, I’ve just merged a change that should avoid this.

> <https://github.com/discourse/discourse-custom-header-links/pull/104>
>
> The display type can cause the padding to wrap, which breaks alignment. Switchin…g to flex prevents this. 
> 
> 
> Before:
> \<img width="700" alt="image" src="https://github.com/user-attachments/assets/e8458524-8754-4f29-acfb-31e356152935" /\>
> 
> 
> After:
> \<img width="700" alt="image" src="https://github.com/user-attachments/assets/f0181a7d-6b35-4fce-86a7-ad7d2d320589" /\>

---

_[View the full topic](https://meta.discourse.org/t/wrong-display-on-mobile/405086)._
