Problem/Motivation

I was reviewing the design and I observed that the styling of the pager is different from the design. In the design, there is a border defined on the items but in the current implementation, the styling is different. See the attached screenshot for reference.

Steps to reproduce

  1. Set up the Drupal site, and moved on Olivero theme.
  2. Add some content (Create articles and a basic page)
  3. See the pager styling (match with the design)

Proposed resolution

Need to style as per the design

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3386916

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

shweta__sharma created an issue. See original summary.

shweta__sharma’s picture

Status: Active » Needs review
StatusFileSize
new1.81 KB
new289.52 KB

I have attached a patch for the same, also attached after patch screenshot for reference. please review

shweta__sharma’s picture

StatusFileSize
new1.83 KB
new1.44 KB

Fixed the #2 errors.

smustgrave’s picture

Status: Needs review » Needs work

I wouldn’t recommend digging through the figmas so much. There were design changes made before launch that aren’t included. So there’s a chance these can be closed won’t fix.

hamid.ali’s picture

StatusFileSize
new449.33 KB

I have tested the patch mentioned in Comment 3 and have identified several discrepancies when compared to the Figma design:
- The total number of visible items on Figma is 7
- The selected item colour, is not the same as per the Figma
- On hover, there is a blue border on the Figma which is missing
- When the first item is selected prev and the first buttons are hidden not disabled like in the Figma
- There are no ellipses on the Figma which is present in this case
- The colour of the numbers of the pagination item on select and hover are black in this case colour does not match as well

Vinayak.Ambig’s picture

Status: Needs work » Needs review

smustgrave with respect #4 can you please provide the reference where we may verify the deviations. According to that we can progress.

smustgrave’s picture

Status: Needs review » Needs work

They aren’t in the figmas anywhere but talking with the maintainer I know some changes were made. Which is why I wouldn’t recommended digging through the figmas looking for differences. 9/10 are probably working as designed.

So unless this provides an improvement, which haven’t tested, not sure this will make it. But could be wrong

johnv’s picture

Title: Olivero: The styling of the pager is not matching the design. » Olivero Pager styling is not matching the design

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.