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

Move misattributed popover into view when screen is small and zoomed #16407

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

tidy-dev
Copy link
Contributor

@tidy-dev tidy-dev commented Mar 28, 2023

Addresses https://github.com/github/accessibility-audits/issues/3272

Description

This adds a media query to change misattributed popover positioning when app height/zoom is constrained.

Screenshots

macOS

CleanShot.2023-03-28.at.15.16.15.mp4

windows

CleanShot.2023-03-28.at.15.29.13.mp4

Release notes

Notes: [Improved] Misattributed commit popover does not clip when app is zoomed

@@ -88,6 +88,17 @@
bottom: 13px;

width: 300px;

@media (max-height: 500px) {
bottom: -125px;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I considered another approach which would be to change the popover from hardcoded positioning to calculated positioning; but, I didn't think the time involved and testing all the popover use cases would be worth it.

@tidy-dev tidy-dev merged commit afe3359 into development Mar 30, 2023
@tidy-dev tidy-dev deleted the misattribued-commit-popover-zoomed- branch March 30, 2023 13:54
@azooz12300099
Copy link

عناوين https://github.com/github/accessibility-audits/issues/3272

وصف

يؤدي هذا إلى إضافة استعلام عن الوسائط لتغيير موضع النوافذ المنبثقة المنسوب بشكل خاطئ عندما يكون ارتفاع / تكبير التطبيق مقيدًا.

لقطات

macOS

شبابيك

ملاحظات الإصدار

ملاحظات: [محسّن] لا يتم قص العنصر المنبثق الذي تمت إحالته بشكل خاطئ عند تكبير التطبيق

Abdulaziz سلام

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.

3 participants