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

chore(dark theme styling): fix ws dark theme styles #3906

Merged
merged 4 commits into from
Mar 21, 2024

Conversation

andrew-ronaldson
Copy link
Contributor

@andrew-ronaldson andrew-ronaldson commented Feb 28, 2024

Closes #3910

@patternfly-build
Copy link
Contributor

patternfly-build commented Feb 28, 2024

@andrew-ronaldson andrew-ronaldson linked an issue Feb 29, 2024 that may be closed by this pull request
@evwilkin evwilkin self-requested a review March 13, 2024 14:56
Copy link
Member

@srambach srambach left a comment

Choose a reason for hiding this comment

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

🌔 LGTM

Copy link
Collaborator

@nicolethoen nicolethoen left a comment

Choose a reason for hiding this comment

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

I approved, but then I noticed that at smaller screen widths the expandable jumplinks are looking incorrect in dark theme:
Screenshot 2024-03-19 at 2 14 43 PM
Screenshot 2024-03-19 at 2 14 54 PM

@nicolethoen nicolethoen self-requested a review March 19, 2024 18:15
@nicolethoen
Copy link
Collaborator

after the last change, something wonky is happening to the minified react.
I'm seeing the same weird side effect when I run things locally. I'll see if I can track down what's happening...

changed ws-code to use secondary background color
Background of current nav item in dark theme
changed the background-color on ws-toc
@andrew-ronaldson
Copy link
Contributor Author

Screenshot 2024-03-21 at 10 39 23 AM Noticed this bit of weirdness when the ToC gets expanded. It's working well enough for Alpha but good to fix in a follow up

@nicolethoen nicolethoen merged commit 8ab357e into patternfly:v6 Mar 21, 2024
4 checks passed
@evwilkin
Copy link
Member

FYI the collapsible ToC being cut off bug flagged above looks to be due to this line applying overflow: auto to the component. Removing the line looks to fix the issue, and I cannot confirm if/why that code needs to be present at all, so believe we can simply strip that one line out.

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

Successfully merging this pull request may close these issues.

Fix workspace styling on nav and code blocks.
5 participants