Skip to content

Conversation

gabalafou
Copy link
Collaborator

@gabalafou gabalafou commented Dec 3, 2024

This PR restores the effects of the variables defined in variables/_bootstrap.scss

This fixes #2022 and also fixes another issue that I had noticed when clicking links in the "More" dropdown. Screenshots:

  • Fixed:
  • Broken:

@gabalafou
Copy link
Collaborator Author

We might want to create a follow up issue to re-evaluate whether or not we need to bring our current set of breakpoints more up to date.

@gabalafou
Copy link
Collaborator Author

I wonder if there's a way to add a regression test to this

@gabalafou gabalafou added the kind: bug Something isn't working label Dec 3, 2024
@trallard
Copy link
Collaborator

trallard commented Dec 4, 2024

Good catch @gabalafou ! I missed this as we were, for some reason, importing Bootstrap variables twice, so thanks for figuring this out.

As for regression testing 🤔 I cannot think of a good way unless we add some visual checks/inspection. Since you had identified that the dropdown hover colour was incorrect maybe we can add a Playwright test checking that the hover colour is correct per our design system?

@trallard
Copy link
Collaborator

trallard commented Dec 5, 2024

I am going to merge this, and we can discuss and work on tests later on

@trallard trallard merged commit 933ce14 into pydata:main Dec 5, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

navigation bar header items are not displayed properly

2 participants