mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-26 14:21:13 +00:00
Centering emojimart in view.
This commit is contained in:
parent
101b830d87
commit
0c78cf22a7
1 changed files with 11 additions and 9 deletions
|
@ -38,16 +38,18 @@ export class EmojiPicker extends Component<EmojiPickerProps, EmojiPickerState> {
|
||||||
|
|
||||||
{this.state.showPicker && (
|
{this.state.showPicker && (
|
||||||
<>
|
<>
|
||||||
<div className="emoji-picker-container">
|
<div className="position-relative">
|
||||||
<EmojiMart
|
<div className="emoji-picker-container position-absolute w-100">
|
||||||
onEmojiClick={this.handleEmojiClick}
|
<EmojiMart
|
||||||
pickerOptions={{}}
|
onEmojiClick={this.handleEmojiClick}
|
||||||
></EmojiMart>
|
pickerOptions={{}}
|
||||||
|
></EmojiMart>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
onClick={linkEvent(this, this.togglePicker)}
|
||||||
|
className="click-away-container"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
|
||||||
onClick={linkEvent(this, this.togglePicker)}
|
|
||||||
className="click-away-container"
|
|
||||||
/>
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue