ppresume / community

Discussions, feedbacks, roadmaps, community.
55 stars 3 forks source link

bug: revise buttons alignment for react-pdf-viewer #64

Open xiaohanyu opened 4 days ago

xiaohanyu commented 4 days ago

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

Evidence:

Image

Smartphone

NA

Additional Context

NA

xiaohanyu commented 4 days ago

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

Before fix:

Image

After fix:

Image