Skip to content

[Bug] Unwanted scrollbar on the body when setting a root font-size of 15px #6262

@nicofrand

Description

@nicofrand

Describe the bug

My HTML root tag has a font-size of 15px.
That creates height issues with the UI, which translates into a scrollbar added on the body because the sum of the .header and .global heights are above 100%.

This might seem like nitpicking but this scrollbar is bothersome with the 3 panes view extension.

To Reproduce

  1. Set font-size to 15px (either in the DOM our through your browser)
  2. Click on an element with no articles (ex: Favourites if you have none)
  3. See the page has a an unexpected scrollbar

Expected behavior

No scrollbar

FreshRSS version

1.23.1

Environment information

  • Database version: [e.g. Mysql 5.7, SQLite]
  • PHP version: [e.g. PHP 8.1]
  • Installation type: YunoHost (testing)
    -Web server type: nginx
  • Device: Desktop
  • OS: Ubuntu 22.10
  • Browser: Firefox 126

Additional context

I think this did not happen with 1.22.

Adding max-height: 38px to header.header > nav > .dropdown will sovle the issue somehow. Might be a clue.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions