Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Fix Cody Web Svelte Sidebar#64320

Merged
0xnmn merged 2 commits into
mainfrom
naman/update-cody-web-svelte-css
Aug 7, 2024
Merged

Fix Cody Web Svelte Sidebar#64320
0xnmn merged 2 commits into
mainfrom
naman/update-cody-web-svelte-css

Conversation

@0xnmn

@0xnmn 0xnmn commented Aug 7, 2024

Copy link
Copy Markdown
Contributor

Cody's Web Sidebar in Svelte is not following the theme when tested locally.

This PR fixes that. I have tested this with multiple builds both with & without the diff.

Test plan

Before:
image

After:
CleanShot 2024-08-07 at 12 20 19@2x

Changelog

@cla-bot cla-bot Bot added the cla-signed label Aug 7, 2024
@0xnmn 0xnmn requested a review from a team August 7, 2024 06:53

<style lang="scss">
:root {
--vscode-sideBar-background: transparent;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think it's probably fine to define/restrict this to .chat. :root is probably not necessary.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I copied it from the chat UI in react implementation. Let me try with scoping it to .chat

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yeah that worked as well.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yeah I don't know why we use :root there but I generally think we should attach less things to :root :D

@0xnmn 0xnmn enabled auto-merge (squash) August 7, 2024 07:19
@0xnmn 0xnmn merged commit 6ee4446 into main Aug 7, 2024
@0xnmn 0xnmn deleted the naman/update-cody-web-svelte-css branch August 7, 2024 07:27
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.

2 participants