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

When viewport is narrow, decrease height of blue collapser bar, extend content / work area width #7571

Open
andrii-i opened this issue Jan 29, 2025 · 1 comment
Labels

Comments

@andrii-i
Copy link
Contributor

Problem

The size of cell content / work area is especially important when the viewport is narrow or zoom is high. Larger work area is always nice to have when it does not affect other areas of user interface and user experience negatively.

Also PR #7570 decreases the width of the cell content / work area by 2 * var(--jp-cell-padding) (10 px for me). It is most notable when viewport is narrow.

Proposed Solution

It was suggested by @krassowski that to increase the width of the cell content / work when when viewport is narrow, it might make sense to decrease height of blue collapser bar and extend content / work area instead.

When viewport is narrow, decrease the height of this component:
Image

And increase the width of this component:
Image

@andrii-i andrii-i changed the title When viewport is narrow, decrease height of blue collapser bar, extend content / work area When viewport is narrow, decrease height of blue collapser bar, extend content / work area width Jan 29, 2025
@andrii-i
Copy link
Contributor Author

andrii-i commented Jan 29, 2025

Relevant WCAG standard: https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html

The size of the target for pointer inputs is at least 24 by 24 CSS pixels

Note that collapser already has width less than 24 px:
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant