You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
Add manage stickerpacks link
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user