Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix single playlist view item index style #4179

Conversation

PikachuEXE
Copy link
Collaborator

@PikachuEXE PikachuEXE commented Oct 18, 2023

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

N/A

Description

Single playlist view - item index got different width when number of digits changed
This make it have constant width (style from watch view playlist component)

Not sure if we should keep the gap (must consider the style when watched)

Screenshots

Before
image
image

After
image
image

Testing

Desktop

  • OS:
  • OS Version:
  • FreeTube version:

Additional context

Issue reported in PikachuEXE#49 (comment)

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Oct 18, 2023
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) October 18, 2023 00:57
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@absidue
Copy link
Member

absidue commented Oct 19, 2023

How well does hardcoding the width work with 4 digit number for example?

@PikachuEXE
Copy link
Collaborator Author

We can handle this when and if there are people actually reporting issues for 4 digit number...

@efb4f5ff-1298-471a-8973-3d47447115dc

@absidue seems to handle it pretty good

VirtualBoxVM_CLTHc1FPin.mp4

@FreeTubeBot FreeTubeBot merged commit b55ad5d into FreeTubeApp:development Oct 20, 2023
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Oct 20, 2023
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Oct 21, 2023
* development:
  Bump stefanzweifel/git-auto-commit-action from 4 to 5 (FreeTubeApp#4124)
  Upgrade electron from 22.x to 27.x and replace deprecated `protocol.registerBufferProtocol` (FreeTubeApp#3967)
  ! Fix single playlist view item index style (FreeTubeApp#4179)
  Fix proxy settings test (FreeTubeApp#4192)
  Translated using Weblate (German)
  fix typos in src/main/index.js comments (FreeTubeApp#4180)
  Translated using Weblate (English (United Kingdom))
  Translated using Weblate (Indonesian)
  Translated using Weblate (Italian)
  Remove be.yaml file (FreeTubeApp#4176)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants