-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
added dynamic functionality to the text spacing #14561
Conversation
Thanks for making a pull request to jupyterlab! |
Thanks for submitting your first pull request! You are awesome! 🤗 |
@manfromjupyter Please review changes. |
I tested it locally it looks good! Sorry, about an earlier comment that I since deleted - it was meant to go here #14560 (comment). I will force-push to remove the last commit which is not relevant here. |
4b72c71
to
6a32629
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @j264415. This PR also fixes #12999 (I updated the description to link them).
My understanding is that while this addresses the accessibility issues when user manually overrides text spacing, #9684 could be further addressed by exposing a user-configurable spacing (hence we should not close #9684 yet).
References
#9684 Adjustable Text Spacing (Low priority)
Fixes #12999
Code changes
Changed height in CSS of Launcher file on the: LauncherCard, LauncherCard-label and LauncherCard-label p to "min-height" to allow for text spacing to be dynamic.
User-facing changes
When the issue on #9684 is reproduced, the code changes allow for the full text within the Launcher cards to fully be shown no matter the text spacing or font, as the launcher card will automatically adjust to the text format.
To test changes, inspect page and go to where the launcher card titles are written and add extra text with spacing within the
class="jp-LauncherCard-label"
<p>...</p>
tag.Backwards-incompatible changes
None