# メインチャットとスレッド間のウィンドウ分割 - 調整できません

**URL:** https://meta.discourse.org/t/window-divider-between-main-chat-and-threads-we-cannot-adjust/340992
**Category:** Support
**Tags:** chat, fixed
**Created:** [2024 年 12 月 6 日午後 6:35 UTC](https://meta.discourse.org/t/window-divider-between-main-chat-and-threads-we-cannot-adjust/340992 "2024-12-06T18:35:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jmcmdbga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jmcmdbga/32/438198_2.png) [@jmcmdbga](https://meta.discourse.org/u/jmcmdbga)
#### Post date: [2024 年 12 月 6 日午後 6:35 UTC](https://meta.discourse.org/t/window-divider-between-main-chat-and-threads-we-cannot-adjust/340992/1 "2024-12-06T18:35:09Z")

</div>

検索しましたが、解決策が見つかりませんでした。

Discourse Chat をフルスクリーン表示にした際、以前はチャットチャンネルウィンドウとスレッドウィンドウの間のバーをドラッグすることで、それぞれのサイズを調整できました。

この機能は無効になったのでしょうか？

また、スレッドのテキストが境界線を越えてしまうようです。これは関連する問題か、別の問題かもしれません。

管理者であり、ユーザーでもあります。ブラウザの更新、キャッシュのクリア、Chrome と Firefox の両方で試しましたが、問題は解決しません。この問題は過去 2 日以内に発生したため、かなり最近のものです。

何が起こっているのかを示すためにスクリーンシェアを添付しました。

https://www.loom.com/embed/515eb1a7b9654e7786f8529903b7fb91?sid=42f4447e-5006-468c-b6a3-6a52cadf8b48

何かアイデアはありますか？

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [2024 年 12 月 6 日午後 8:58 UTC](https://meta.discourse.org/t/window-divider-between-main-chat-and-threads-we-cannot-adjust/340992/2 "2024-12-06T20:58:06Z")

</div>

こんにちは。

このコミットの副作用のようです。

> <https://github.com/discourse/discourse/pull/27876/files#diff-634be0b36b7b099da8fa7b1ea70b3643467d0cf3bf5121df38430377c3480e53>
>
> Prior to this fix the following sequence would cause an overflow:
> 
> \- open a th…read
> \- expand thread panel to maximum width
> \- close panel
> \- reduce window width
> \- open thread again
> \- :boom:
> 
> The fix is now ensuring that we never use or set a width which would cause the main panel + side panel to be larger than the chat container. We also removed the service as it was overkill for this case and it's easier to have all the implementation at one place.
> 
> This commit also uses JS animation api to set the width of the panel.

パネルに `clamp(350px, 33vw, 33vw)` が導入され、最小値と最大値が指定されました（これは素晴らしい変更です！）。しかし、デフォルトでは境界からはみ出さないため、動的に設定された `width` にかかわらず、優先値である `33vw` が強制されるという効果があります。

`clamp` を使用せずに制限を指定することで、この動作が修正されると思います。

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

```

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2024 年 12 月 9 日午後 1:21 UTC](https://meta.discourse.org/t/window-divider-between-main-chat-and-threads-we-cannot-adjust/340992/3 "2024-12-09T13:21:18Z")

</div>

> [@Arkshine](#):
>
> パネルに `clamp(350px, 33vw, 33vw)` が導入され、最小値と最大値が指定されました（これは素晴らしい変更です！）。しかし、デフォルトでは境界からはみ出さないため、動的に設定された `width` にかかわらず、優先値である `33vw` が強制されるという効果があります。

それは間違いです。このコミットはこれを行っていません。これは [UX: update minwidth to chat sidepanel + better title word-break fn (#… · discourse/discourse@cdf8eb8 · GitHub](https://github.com/discourse/discourse/commit/cdf8eb80554be5279698478591ce85fbc4bc8e7a) で導入されました。

いずれにせよ、数日前にすでに元に戻しました: [FIX: lower thread panel min-width (#30158) · discourse/discourse@b0be89c · GitHub](https://github.com/discourse/discourse/commit/b0be89cb17b0148f5725316e291213756a81270b)

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2024 年 12 月 9 日午後 1:21 UTC](https://meta.discourse.org/t/window-divider-between-main-chat-and-threads-we-cannot-adjust/340992/4 "2024-12-09T13:21:27Z")

</div>


