# 较小屏幕上自定义CSS“保存”按钮的问题

**URL:** https://meta.discourse.org/t/issue-with-custom-css-save-button-on-smaller-screens/358505
**Category:** Bug
**Tags:** ux
**Created:** [2025年三月23日 16:34 UTC](https://meta.discourse.org/t/issue-with-custom-css-save-button-on-smaller-screens/358505 "2025-03-23T16:34:41Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [2025年三月24日 04:45 UTC](https://meta.discourse.org/t/issue-with-custom-css-save-button-on-smaller-screens/358505/8 "2025-03-24T04:45:31Z")

</div>

这是一个 PR：

> <https://github.com/discourse/discourse/pull/31971>
>
> Meta: https://meta.discourse.org/t/issue-with-custom-css-save-button-on-smaller-…screens/358505
> 
> With the editor maximized, this PR adjusts the height by considering the new info banner (#31561) and the navbar with \`Show advanced\` enabled (even without banner, the height needed adjustments).
> 
> The info banner is forced to scroll to contain the height, especially on mobile.
> 
> Before:
> !\[IiOWqPj3eO\](https://github.com/user-attachments/assets/723aee77-d10b-4ec6-87e1-95984039b6a0)
> !\[KmJA54V2H8\](https://github.com/user-attachments/assets/568dc6ad-3dba-4829-87c9-0283bd685862)
> 
> After:
> !\[d3GlykKDLE\](https://github.com/user-attachments/assets/3955a094-91f7-4a11-a463-567e6f168897)
> !\[cwzKPVc294\](https://github.com/user-attachments/assets/b23fa5a6-97d1-468a-8f4a-e0bbb03b8a87)

---

_[View the full topic](https://meta.discourse.org/t/issue-with-custom-css-save-button-on-smaller-screens/358505)._
