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 overflow issue with share playlist icon drop-down #4677

Conversation

MarmadileManteater
Copy link
Contributor

Fix overflow issue with share playlist icon drop-down

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

#4660 (comment)

Description

The share playlist drop-down currently overflows in a way which visually obscures its content. This PR addresses this by removing the overflow-y: auto; on playlistInfo as well as adding a media query which positions the drop down to the center when the width is <=1250px.

Screenshots

before after
image image

motion

Testing

  1. Open a playlist
  2. Click the share playlist icon
  3. Reduce the width of the window to anywhere between 1200px and 900px
  4. Ensure the dropdown is fully visible and not being cut off

Desktop

  • OS: Windows 10
  • OS Version: Pro Version 21H2 Installed on ‎4/‎3/‎2022 OS build 19044.1889 Experience Windows Feature Experience Pack 120.2212.4180.0
  • FreeTube version: 28cc5ef

Originally, when this overflow-y was added, the share playlist dropdown went straight down, so there would no need for the content to be able to overflow in the y direction. (FreeTubeApp#2281)

Now, the dropdown swings out to the left by default, and even when it is centered, it still overflows the width of the container as an intentional part of the design.
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) February 14, 2024 12:30
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Feb 14, 2024
@FreeTubeBot FreeTubeBot merged commit 821d5ca into FreeTubeApp:development Feb 15, 2024
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 Feb 15, 2024
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Feb 15, 2024
…-user-playlist-2

* development: (66 commits)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (Czech)
  Translated using Weblate (Hungarian)
  Translated using Weblate (Estonian)
  Translated using Weblate (Turkish)
  Translated using Weblate (Spanish)
  Translated using Weblate (Arabic)
  Translated using Weblate (Italian)
  Translated using Weblate (Polish)
  Translated using Weblate (French)
  Translated using Weblate (Chinese (Traditional))
  Translated using Weblate (Chinese (Simplified))
  Fix overflow issue with share playlist icon drop-down (FreeTubeApp#4677)
  Fix the Invidious DASH manifest generation (FreeTubeApp#4672)
  Hide channel sidebar label under `more` when setting is enabled (FreeTubeApp#4678)
  Translated using Weblate (Norwegian Nynorsk)
  Translated using Weblate (Serbian)
  Remove excessive punctuation as part of distraction settings (FreeTubeApp#4673)
  Bump the stylelint group with 1 update (FreeTubeApp#4669)
  Bump swiper from 11.0.5 to 11.0.6 (FreeTubeApp#4670)
  ...

# Conflicts:
#	src/renderer/components/playlist-info/playlist-info.scss
@MarmadileManteater MarmadileManteater deleted the share-playlist-dropdown-overflow branch March 16, 2024 16:03
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