Skip to content

fix(viewer): use the header height token for the document offset - #6069

Open
Darshan-upadhyay1110 wants to merge 1 commit into
stable35from
darshan/private/viewer-header-height
Open

fix(viewer): use the header height token for the document offset#6069
Darshan-upadhyay1110 wants to merge 1 commit into
stable35from
darshan/private/viewer-header-height

Conversation

@Darshan-upadhyay1110

Copy link
Copy Markdown
Collaborator
  • Nextcloud 35 reduces --header-height from 50px to 44px.
  • The fixed -50px offset now cuts off the top of the Collabora Online toolbar.
  • Use calc(var(--header-height) * -1) so the offset follows the theme.

Before:
image

After:

image

- Nextcloud 35 reduces --header-height from 50px to 44px.
- The fixed -50px offset now cuts off the top of the Collabora Online toolbar.
- Use calc(var(--header-height) * -1) so the offset follows the theme.

Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
@Darshan-upadhyay1110
Darshan-upadhyay1110 force-pushed the darshan/private/viewer-header-height branch from 7dc37cd to e5378f1 Compare September 11, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant