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

fix nb-sticky css #189350

Merged
merged 2 commits into from
Jul 31, 2023
Merged

fix nb-sticky css #189350

merged 2 commits into from
Jul 31, 2023

Conversation

Yoyokrazy
Copy link
Contributor

fix: #189195

fixes styling for hc-light and hc-black themes in vscode. Adds background color and bottom border to sticky-container.

@Yoyokrazy Yoyokrazy self-assigned this Jul 31, 2023

.monaco-workbench.hc-light .notebookOverlay .notebook-sticky-scroll-container,
.monaco-workbench.hc-black .notebookOverlay .notebook-sticky-scroll-container {
background-color: var(--vscode-editorStickyScroll-background);
Copy link
Member

Choose a reason for hiding this comment

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

Why are these rules different for hc themes?

Copy link
Contributor Author

@Yoyokrazy Yoyokrazy Jul 31, 2023

Choose a reason for hiding this comment

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

It addresses the borders that specifically the high contrast themes use. I couldn't hunt down a background-color from within notebook css that didn't show overlapping text. Issue is only for the hc-themes, not sure what css rule is causing this.

Editor sticky scroll has the same fix for this, manually adding the border. It just doesn't need to alter the background-color.

@Yoyokrazy Yoyokrazy marked this pull request as ready for review July 31, 2023 20:24
@Yoyokrazy
Copy link
Contributor Author

screenshot of fix:
image

Upper left -- current insiders
Lower right/middle -- OSS with fix.

@Yoyokrazy Yoyokrazy enabled auto-merge (squash) July 31, 2023 21:04
@Yoyokrazy Yoyokrazy merged commit 4dfb92c into release/1.81 Jul 31, 2023
6 checks passed
@Yoyokrazy Yoyokrazy deleted the sticky-candidate-fix branch July 31, 2023 21:19
@github-actions github-actions bot locked and limited conversation to collaborators Sep 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants