# 移动设备上的左侧汉堡菜单

**URL:** https://meta.discourse.org/t/left-side-hamburger-menu-on-mobile/164513
**Category:** Theme component
**Tags:** mobile
**Created:** [2020年九月18日 22:56 UTC](https://meta.discourse.org/t/left-side-hamburger-menu-on-mobile/164513 "2020-09-18T22:56:47Z")
**Posts on this page:** 1
**Showing post:** 32

<div class="post-metadata">

### Author: ![fokx](https://avatars.discourse-cdn.com/v4/letter/f/958977/32.png) [@fokx](https://meta.discourse.org/u/fokx)
#### Post date: [2025年八月15日 03:01 UTC](https://meta.discourse.org/t/left-side-hamburger-menu-on-mobile/164513/32 "2025-08-15T03:01:33Z")

</div>

我发现这个 TC 在最近的核心更改后无法正常工作，所以我开了一个 PR：

> <https://github.com/featheredtoast/discourse-left-menu-theme-component/pull/5>
>
> FIX: Adapt to \[discourse PR 34235\](https://github.com/discourse/discourse/pull/3…4235)
> 
> That PR moves the d-header-icons ul under the header-buttons span, which makes this theme compoennt not work anymore.
> 
> Before that commit:
> \<img width="1726" height="822" alt="dom\_before" src="https://github.com/user-attachments/assets/70d81328-3eb7-4a94-a28b-9239bd30f4f6" /\>
> 
> \-\>
> 
> After that commit:
> \<img width="1189" height="793" alt="dom\_after" src="https://github.com/user-attachments/assets/0b80faa6-99ac-4b00-847a-1877ed053a69" /\>
> 
> Also I find the center logo doesn't work, so I include another commit:
> FIX: Use \`justify-content: center\` instead of \`margin: 0 auto\` to horizontally center logo

---

_[View the full topic](https://meta.discourse.org/t/left-side-hamburger-menu-on-mobile/164513)._
