Skip to content

Conversation

@magdapoppins
Copy link
Contributor

  • Make styles of .dynamic-buttons class scoped
  • Drop some unused styles

Fixes #5670

- Change the scope of styles specific to `.dynamic-buttons` to that class only (introed in jupyter#4729)
- Drop the width style from tooltips since `display: inline` makes it have no effect

Fixes jupyter#5670
Copy link
Contributor

@akx akx left a comment

Choose a reason for hiding this comment

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

Looks good to me. Based on

~/b/jupyter-notebook (master) $ git grep visually-hidden
notebook/static/tree/less/tree.less:.visually-hidden {
~/b/jupyter-notebook (master) $ git grep button-and-tooltip
notebook/static/tree/less/tree.less:.button-and-tooltip {

the two dropped classes were indeed only used in this file, nowhere else.

Copy link
Member

@Zsailer Zsailer left a comment

Choose a reason for hiding this comment

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

Thanks, @magdapoppins. Looks good to me!

@Zsailer Zsailer merged commit 0c2d119 into jupyter:master Aug 12, 2020
@kevin-bates
Copy link
Member

@magdapoppins - This has been delivered in Notebook 6.1.2 which is now available - thank you for your contribution!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Global [role=tooltip] styles impact notebook extensions

4 participants