Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

MM-15107 - Updating emoji picker on mobile #2664

Merged
merged 1 commit into from
Apr 16, 2019
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
3 changes: 2 additions & 1 deletion components/emoji_picker/emoji_picker_tabs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,9 @@ export default class EmojiPickerTabs extends PureComponent {
<div
id='emojiPicker'
style={pickerStyle}
className={pickerClass}
className={pickerClass + ' emoji-picker--single'}
>
<EmojiPickerHeader handleEmojiPickerClose={this.handleEmojiPickerClose}/>
<EmojiPicker
style={this.props.style}
onEmojiClose={this.props.onEmojiClose}
Expand Down
9 changes: 9 additions & 0 deletions sass/responsive/_mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1787,6 +1787,15 @@
}
}

.emoji-picker {
&.emoji-picker--single {
.emoji-picker__inner {
margin-top: 59px;
height: calc(100vh - 60px);
}
}
}

.sidebar--right {
.post {
&.post--compact {
Expand Down