mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 10:23:41 +08:00
5ce0697348
Before this commit chat was applying a fixed height on everything under the `/chat` route. It's only really needed on the channel page with the composer at the bottom of the page. This commits makes the following changes: - moves height limitation from `#main-outlet-wrapper` to `.chat-channel` - makes browse channel page and members list page full height and rely on main document scrollbar - adds height computation for draft header and direct message creator block to ensure the height is correct when creating a draft channel - makes chat index full height to rely on the browser scrollbar. As a result the <kbd> + </kbd> button used on mobile to create a direct message as been moved out of `<ChannelsList>` into the chat index template - sidebar height was relying on chat setting a max height, as a result the height computation of sidebar has been changed to work correctly, especially with an opened keyboard on mobile or ipad |
||
---|---|---|
.. | ||
base-mobile.scss | ||
chat-channel-info.scss | ||
chat-composer-upload.scss | ||
chat-composer.scss | ||
chat-emoji-picker.scss | ||
chat-index.scss | ||
chat-message-actions.scss | ||
chat-message.scss | ||
chat-selection-manager.scss | ||
chat-side-panel.scss | ||
chat-thread-settings-modal.scss | ||
chat-thread.scss | ||
chat-threads-list.scss | ||
index.scss |