[2.x] Inconsistent Return button height when navigating
Author: huoxin233Created Aug 24, 2026Updated Aug 24, 2026
Labelstype/bug
Current Behavior
The height of the return button is not kept the same when navigating from discussion to profile page. (Can be seen in the screenshot, reproducible on discuss) The button height seems to have some relation with the current screen width also.
Steps to Reproduce
- Open https://discuss.flarum.org (the main page)
- Then open into a discussion
- See the return button on the top left and navigate to the profile page
- The return button on the profile page is slightly shorter
Note that if open the discussion page directly then you wont see a difference in button height when navigating as the height is already the same
Expected Behavior
The height of the button should keep constant throughout the navigation.
Screenshots
Navigating from discussion to the profile page:
Screen width changes the button height:
Environment
- Flarum version: 2.0.0-rc.6
- Website URL: https://discuss.flarum.org
- Webserver: [e.g. apache, nginx]
- Hosting environment: [e.g. shared, vps]
- PHP version: x.y.z
- Database: [e.g. MySQL 8.4.11, MariaDB 10.11.2, PostgreSQL 16.1, SQLite 3.45]
- Browser: [e.g. chrome 67, safari 11]
Output of php flarum info
Output of "php flarum info", run this in terminal in your Flarum directory.Possible Solution
No response
Additional Context
No response
Source: flarum/framework