UX: make chat drawer settingspage full height (#27385)
This commit is contained in:
parent
c18e5d1698
commit
b6c2430bf6
|
@ -579,6 +579,12 @@ export default class ChatRouteChannelInfoSettings extends Component {
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<form.section class="--leave-channel" as |section|>
|
<form.section class="--leave-channel" as |section|>
|
||||||
|
{{#if @channel.chatable.group}}
|
||||||
|
<div class="c-channel-settings__leave-info">
|
||||||
|
{{icon "exclamation-triangle"}}
|
||||||
|
{{i18n "chat.channel_settings.leave_groupchat_info"}}
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
<section.row>
|
<section.row>
|
||||||
<:action>
|
<:action>
|
||||||
<ToggleChannelMembershipButton
|
<ToggleChannelMembershipButton
|
||||||
|
@ -593,12 +599,6 @@ export default class ChatRouteChannelInfoSettings extends Component {
|
||||||
/>
|
/>
|
||||||
</:action>
|
</:action>
|
||||||
</section.row>
|
</section.row>
|
||||||
{{#if @channel.chatable.group}}
|
|
||||||
<div class="c-channel-settings__leave-info">
|
|
||||||
{{icon "exclamation-triangle"}}
|
|
||||||
{{i18n "chat.channel_settings.leave_groupchat_info"}}
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
</form.section>
|
</form.section>
|
||||||
</ChatForm>
|
</ChatForm>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -90,10 +90,25 @@ html.rtl {
|
||||||
|
|
||||||
.chat-drawer-content {
|
.chat-drawer-content {
|
||||||
@include chat-scrollbar();
|
@include chat-scrollbar();
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 1px;
|
min-height: 1px;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overscroll-behavior: contain;
|
overscroll-behavior: contain;
|
||||||
|
|
||||||
|
.c-channel-settings {
|
||||||
|
flex-grow: 1;
|
||||||
|
|
||||||
|
.chat-form {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chat-form__section.--leave-channel {
|
||||||
|
margin-top: auto;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue