mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-05 00:39:07 +03:00
Sticker popover styling
This commit is contained in:
parent
2cf9da8c95
commit
78bd25eff0
1 changed files with 4 additions and 2 deletions
|
@ -289,8 +289,8 @@ export default class MessageComposer extends React.Component {
|
|||
let stickersContent = <p>Click here to add your first sitckerpack</p>;
|
||||
if (stickerpackWidget && stickerpackWidget.content && stickerpackWidget.content.url) {
|
||||
stickersContent = <iframe src={stickerpackWidget.content.url} style={{
|
||||
borderRadius: '5px',
|
||||
border: 'none',
|
||||
height: '160px',
|
||||
}}></iframe>;
|
||||
}
|
||||
|
||||
|
@ -309,12 +309,14 @@ export default class MessageComposer extends React.Component {
|
|||
show={this.state.showStickers}
|
||||
onHide={this.onHideStickersClick}
|
||||
containerStyle={{
|
||||
zIndex: 100,
|
||||
zIndex: 1000,
|
||||
}}
|
||||
style={{
|
||||
borderRadius: '5px',
|
||||
width: 'initial',
|
||||
padding: 0,
|
||||
overflow: 'hidden',
|
||||
height: '160px'
|
||||
}}
|
||||
children={stickersContent}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue