Add manage stickerpacks link

This commit is contained in:
Richard Lewis 2018-01-16 23:25:07 +00:00
parent 38ed01bebd
commit 86da204169

View File

@ -56,12 +56,19 @@ export default class Stickerpack extends React.Component {
// Load stickerpack content
if (stickerpackWidget && stickerpackWidget.content && stickerpackWidget.content.url) {
stickersContent = <div
stickersContent = (
<div
style={{
overflow: 'hidden',
height: '300px',
}}
>
<div
id='stickersContent'
className='mx_StickersContent'
style={{
border: 'none',
height: this.popoverHeight,
height: this.popoverHeight - 30,
width: this.popoverWidth,
}}
>
@ -78,7 +85,21 @@ export default class Stickerpack extends React.Component {
show={true}
showMenubar={false}
/>
</div>;
</div>
<div style={{
height: '20px',
position: 'absolute',
bottom: '5px',
right: '19px',
width: '263px',
textAlign: 'right',
padding: '5px',
borderTop: '1px solid #999',
}}>
Add sticker packs
</div>
</div>
);
} else {
// Default content to show if stickerpack widget not added
stickersContent = <p>Click here to add your first sitckerpack</p>;