mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 14:44:58 +08:00
Add manage stickerpacks link
This commit is contained in:
parent
38ed01bebd
commit
86da204169
@ -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>;
|
||||
|
Loading…
Reference in New Issue
Block a user