Skip to content

PDF toolbar layout breaks in half-width split view (Close button wraps vertically) #13519

Closed

Description

@beiwater

Bug description

When Logseq is used in a half-screen / narrow split-view layout, clicking a PDF link opens the PDF pane but the PDF toolbar UI becomes broken.

The most obvious issue is the Close control in Chinese ("关闭"): the two characters wrap vertically and the control overlaps / extends outside the toolbar area. Other toolbar controls also become cramped or misaligned.

Steps to reproduce

  1. Open Logseq Desktop on macOS.
  2. Resize the Logseq window to roughly half of the screen width.
  3. Open a page containing a PDF link.
  4. Click the PDF link to open the PDF viewer in the split pane.
  5. Look at the PDF toolbar at the top of the PDF pane.

Expected behavior

The PDF toolbar should remain responsive at narrow widths:

  • controls stay on one line where possible,
  • labels should not wrap vertically,
  • controls should remain fully visible and clickable,
  • no overlap or clipping should occur.

Actual behavior

At half-screen width, the PDF viewer toolbar overflows. The "关闭" (Close) label wraps into two vertical characters and overlaps the surrounding UI.

Environment

  • Logseq Desktop
  • macOS
  • UI language: Chinese
  • Reproduces when the window is about half-screen width / the PDF pane is narrow

Screenshots

I can provide screenshots showing the full half-screen layout and a close-up of the broken PDF toolbar if needed.

Activity

  1. added 11 commits that reference this issue on Oct 29, 2026
    16b7d8e
    44897e1
    b02e9e8
    b852cbc
    c64691b
    8d2eabd
    991c15b
    0529f41
    e9ea7a5
    a792a90
    cae105c
  2. added 9 commits that reference this issue on Nov 11, 2026
    6061b5e
    20e4374
    158d3ff
    4a13980
    a299544
    7104a1a
    79902ea
    6fc2310
    1b4814d
  3. added a commit that references this issue on Nov 17, 2026
    389b715
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions