mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 08:07:40 +08:00

This adds the class `composer-has-preview` to the HTML element when the composer is opened and the preview is visible. This allows us to adjust the sidebar height, so that the previewless composer can overlap the sidebar and better utilize the available space. Before:  After: 