-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Add active cell border padding, remove double cell padding #7570
Conversation
please update snapshots |
No idea why action did not pick up your request above. Let me try: bot please update galata snapshots |
Edit: Wow, I had a stale page and I did not see Mike's PR! Hi @krassowski and @andrii-i, I saw this issue with the bot and tried looking into it. I see that the job was skipped and I thought it might be because of the bot please update galata snapshots |
Sorry for the noise... I see now that Andrii is a member of the Notebook Council team and that Mike's PR adds checks for comment authors |
@krassowski @RRosio thank you both for looking into CI failures. |
Thanks all. Updating the branch to check if #7577 helps with the CI failures. |
bot please update playwright snapshots |
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.
Thanks @andrii-i for working on this 👍
This change seems to be having the following side-effect when selecting all cells:
For reference this is what it looks like with 7.4.0a1
(no left/right margins):
Raising this point in case folks have an opinion on which one looks better.
@jtpio Thank you for the looking into this PR and pointing out impact on selecting all cells highlight. Added screenshots to the "Before" and "After" sections of the PR description for more visibility. This PR removes |
Right good point. We can likely go with the current state of this PR for consistency then 👍 |
Other than having consistent user experience, consistent user interface between lab and notebook would also reduce operational load that maintaining different Notebook user interface while JupyterLab is changing generates. |
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.
Thanks!
@krassowski @RRosio @jtpio Thank you everyone for working on this. |
Add active cell left and right border padding, remove double cell left and right padding.
Code changes
Remove notebook-specific css rules that overwrite css rules inherited from JupyterLab on left and right border padding, cell left and right padding.
User-facing changes
Active cell left and right border padding is added, double padding around cells on left and right is removed.
Screenshots
Before (2nd screenshot is at 400% zoom):
![Screenshot 2025-01-28 at 11 54 02 PM](https://private-user-images.githubusercontent.com/26686070/407651344-d838599c-ba00-444c-8f85-903cf6c68dd1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MDcyMzksIm5iZiI6MTczODgwNjkzOSwicGF0aCI6Ii8yNjY4NjA3MC80MDc2NTEzNDQtZDgzODU5OWMtYmEwMC00NDRjLThmODUtOTAzY2Y2YzY4ZGQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDAxNTUzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFhZDY1MjM0ODIwNGY3ODFlOWE4ODBmOWI5NTcxZjY3NzZkMGI4OTI3OGU3NTZhYjU3MjUzNGI5ODllZTg3YzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xxwfWNsN0ctWzk-GJCRLQHQB_OIKz2XQ66Od696eNl0)
After (2nd screenshot is at 400% zoom):
![Screenshot 2025-01-28 at 11 52 51 PM](https://private-user-images.githubusercontent.com/26686070/407651364-52b5c60a-cfed-43f3-b54b-6cda06b51269.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MDcyMzksIm5iZiI6MTczODgwNjkzOSwicGF0aCI6Ii8yNjY4NjA3MC80MDc2NTEzNjQtNTJiNWM2MGEtY2ZlZC00M2YzLWI1NGItNmNkYTA2YjUxMjY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDAxNTUzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM2ZmIzNmVjNjZjNzkyMjJmZjM3Mjg2MjIzYTlkMzZjYjEyNjYxOThjOGMzYTMxMjMzYTYwMTllMWU1MTg0ZTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.JG4Bwt31jQpspFq3ay3cm0ocsUvIK7l0adSw8WQda_k)