Skip to content

[2.x] Inconsistent Return button height when navigating #4982

Closed

Description

@huoxin233

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

  1. Open https://discuss.flarum.org (the main page)
  2. Then open into a discussion
  3. See the return button on the top left and navigate to the profile page
  4. 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:
Image

Screen width changes the button height:
Image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions