The page number input and pdf ratio input is not aligned with pdf navbar when using pdf.js as renderer.

Created on 16 September 2022, about 2 years ago
Updated 11 March 2023, over 1 year ago

Problem/Motivation

In Drupal 9, 7 and 8page number input and pdf ratio input is not aligned with pdf navbar when using pdf.js as renderer as shown in figure.

Steps to reproduce

1. Install module.
2. Configure as shown.
3. Choose pdf.js as renderer.
4. Upload pdf and check.

Proposed resolution

for drupal 9 add this in css file:
#pageNumber{
padding: 0;
color: white;
min-height: 22px;
margin-right: 2px;
margin-left: -6px;
text-align: center;
min-width: 68px;
}
#scaleSelect{
padding-left: 0.125rem;
padding-right: 2.375rem;
height: 100%;
}

for drupal 7 and 8 ass this in css file:
add margin-right: -16px; in html[dir='ltr'] .outerCenter

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

1.0

Component

User interface

Created by

🇮🇳India chaubeyji

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    Screenshots would be helpful, it's hard to appreciate any difference.
    Also would need: rtl versions, @media queries for the different breakpoints.

Production build 0.71.5 2024