NPM Resource Changed PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
17 May 2023

Pull Request for Issue #32674 #37711 and many more reports

Summary of Changes

Prevent the pagination going "off-screen" on small devices

Testing Instructions

This PR is an scss change so either apply the PR and then npm run build:css or install a prebuilt package
Then create a menu item to a list of all articles in a category making sure that you have a lot of articles to force the pagination. Hint if you set the list limit to 5 you need less articles

Actual result BEFORE applying this Pull Request

The pagination forces the screen to be much wider than the device
image

Expected result AFTER applying this Pull Request

The navigation bar is truncated as shown in the screenshot
image

If accepted I will make the same change for the same problem in atum

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar joomla-cms-bot joomla-cms-bot - change - 17 May 2023
Category Repository NPM Change
avatar brianteeman brianteeman - open - 17 May 2023
avatar brianteeman brianteeman - change - 17 May 2023
Status New Pending
avatar brianteeman
brianteeman - comment - 17 May 2023

@hans2103 I would be grateful if you could check my scss - it works but perhaps could be improved?

avatar brianteeman brianteeman - change - 17 May 2023
Labels Added: NPM Resource Changed PR-4.3-dev
avatar hans2103
hans2103 - comment - 17 May 2023

While testing I stumbled upon another issue... why is there a float on paragraph with className com-content-category-blog__counter?

Scherm­afbeelding 2023-05-17 om 16 08 41

Out of scope for this issue... but just noticing it to make an issue later. ;-)

avatar hans2103
hans2103 - comment - 17 May 2023

@brianteeman Testing your PR. In your example you are only going to display the first 4 and last 4 list items of the pagination. But when you are on page 3 - 8 you have no visible clue that you are. I think you should have a visible clue on what page number you are. Therefor the active page should be visible.

avatar richard67
richard67 - comment - 17 May 2023

@brianteeman Could you fix the code style errors reported here https://ci.joomla.org/joomla/joomla-cms/65841/1/28 ? Thanks in advance.

avatar brianteeman brianteeman - change - 17 May 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-05-17 14:40:04
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 17 May 2023

Sorry this is clearly not correct

avatar brianteeman brianteeman - close - 17 May 2023

Add a Comment

Login with GitHub to post a comment