ppresume/community

bug: revise buttons alignment for react-pdf-viewer

xiaohanyu opened this issue · 1 comments

Description

Buttons in react-pdf-viewer is not center aligned.

To Reproduce

Actual Behavior

The margin between the buttona and top/bottom of the bar container is not the same.

Expected Behavior

Buttons should be strictly center aligned for symmetry.

[Optional] Screenshots

If applicable, add screenshots to help explain your problem.

Desktop

  • OS: macOS 14.5
  • Browser: Microsft Edge
  • Version: Version 126.0.2592.87

Evidence:

Image

Smartphone

NA

Additional Context

NA

We've added a tentative fix for zoom menu alignment with buttons around.

Before fix:

Image

After fix:

Image