-
-
Notifications
You must be signed in to change notification settings - Fork 20
Shrink name of the chat if too big #332
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
base: main
Are you sure you want to change the base?
Conversation
brichet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @nakul-py for opening this.
packages/jupyter-chat/style/chat.css
Outdated
| } | ||
|
|
||
| .jp-chat-open { | ||
| max-width: calc(100% - 140px); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does this 140px value come from ?
Should it be computed dynamically instead ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find 140px more suitable for current width of chat. And yes we can use dynamic width instead.
packages/jupyter-chat/style/chat.css
Outdated
| overflow: hidden; | ||
| } | ||
|
|
||
| .lm-AccordionPanel-titleLabel { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably be more specific on the selector, to avoid targeting other DOM elements in the page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I will done this by adding another parent class.
|
Hey @brichet I have also updated the pr description video. Can you have a look on it? |
Shrink name of the chat if too big.
Screencast.From.2025-12-18.21-57-38.mp4
📚 Documentation preview: jupyter-chat--332.org.readthedocs.build/en/332
💡 JupyterLite preview: jupyter-chat--332.org.readthedocs.build/en/332/lite/lab/index.html