Skip to content

Conversation

@nakul-py
Copy link
Contributor

@nakul-py nakul-py commented Dec 12, 2025

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

@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch nakul-py/jupyter-chat/chatname

@brichet brichet added the enhancement New feature or request label Dec 17, 2025
Copy link
Collaborator

@brichet brichet left a 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.

}

.jp-chat-open {
max-width: calc(100% - 140px);
Copy link
Collaborator

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 ?

Copy link
Contributor Author

@nakul-py nakul-py Dec 18, 2025

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.

overflow: hidden;
}

.lm-AccordionPanel-titleLabel {
Copy link
Collaborator

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.

Copy link
Contributor Author

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.

@nakul-py nakul-py requested a review from brichet December 18, 2025 16:31
@nakul-py
Copy link
Contributor Author

Hey @brichet I have also updated the pr description video. Can you have a look on it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Buttons Overlaps if chat name is too long.

2 participants