Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] channel create scroll on small screens #9168

Merged
merged 1 commit into from
Dec 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@
animation-name: fadeIn;
animation-duration: 1s;

&__wrapper {
overflow-x: hidden;
overflow-y: auto;
}

&__header,
&__switches,
&__inputs,
&__inputs:not(:last-child),
& .rc-input:not(:last-child) {
margin-bottom: var(--create-channel-gap-between-elements);
}
Expand All @@ -30,11 +35,6 @@
font-size: var(--create-channel-description-text-size);
}

&__content {
overflow-x: hidden;
overflow-y: auto;
}

&__switches {
display: flex;
flex-wrap: wrap;
Expand Down
2 changes: 1 addition & 1 deletion packages/rocketchat-ui/client/views/app/createChannel.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{> Template.dynamic template=roomType.creationTemplate }}
</div>
{{/each}}
<div class="room-type-creation">
<div class="create-channel__wrapper">
<header class="create-channel__header">
<h1 class="create-channel__title">{{_ "Create_A_New_Channel"}}</h1>
<p class="create-channel__description">{{_ "Channels_are_where_your_team_communicate"}}</p>
Expand Down