Window divider between main chat and threads - We cannot adjust

AI-generated summary

The discussion is about an issue with the window divider between the main chat and threads in Discourse Chat, where the divider can no longer be adjusted. jmcmdbga reported the issue, which started recently, and provided a screen share to demonstrate the problem. Arkshine suggested that the issue might be related to a recent commit, but joffreyjaffeux corrected that the commit in question did not introduce the issue, and that the actual commit causing the problem had already been reverted a few days ago. The issue seems to be related to a CSS change that enforced a fixed width for the chat side panel, but a fix has already been implemented.

I’ve searched, however I couldn’t find a solution.

With Discourse Chat in full screen, in the past we could adjust the size of the thread window versus the chat channel window by dragging the bar in-between the two.

Now it seems that functionality has been disabled?

Also the thread text seems to go beyond the border. This may be related issue, or a separate issue.

I’m an admin, and a user. I’ve refreshed the browser, cleared cache, and tried it on both Chrome and Firefox. This issue started within the last two days, so it is fairly recent.

I’ve attached a screen share to show what I’m talking about:

Any ideas?

Hey,

It looks like a side-effect of this commit:

https://github.com/discourse/discourse/pull/27876/files#diff-634be0b36b7b099da8fa7b1ea70b3643467d0cf3bf5121df38430377c3480e53

It introduced a clamp(350px, 33vw, 33vw) on the panel to specify a min and max (which is a great change!), but it has the effect that since we don’t go out of bounds by default, it enforces the preferred value, 33vw, regardless of the width set dynamically.

I think specifying the limits without using clamp could fix this behavior:

.chat-side-panel {
  min-width: 350px;
  max-width: 33vw;
  width: 33vw;
}

That’s incorrect, this commit didn’t do this. It’s been introduced in UX: update minwidth to chat sidepanel + better title word-break fn (#… · discourse/discourse@cdf8eb8 · GitHub

Anyways I already reverted it few days ago: FIX: lower thread panel min-width (#30158) · discourse/discourse@b0be89c · GitHub