www irc message popup - make it work better on mobile screens
This commit is contained in:
parent
a5a6bc9918
commit
6e33cd8225
|
@ -673,10 +673,10 @@ table {
|
||||||
|
|
||||||
#ircbubble {
|
#ircbubble {
|
||||||
background-color: #181818;
|
background-color: #181818;
|
||||||
border-radius: 20px;
|
border-radius: 5px;
|
||||||
padding: 20px;
|
padding: 5px;
|
||||||
right: 120px;
|
right: 30px;
|
||||||
bottom: 30px;
|
bottom: 120px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 9998;
|
z-index: 9998;
|
||||||
transform-origin: bottom;
|
transform-origin: bottom;
|
||||||
|
|
|
@ -183,6 +183,6 @@ var iframe = document.createElement('iframe');
|
||||||
|
|
||||||
iframe.setAttribute('src',
|
iframe.setAttribute('src',
|
||||||
'https://kiwiirc.com/client/irc.freenode.net/?nick=' + nick + '&theme=cli#e');
|
'https://kiwiirc.com/client/irc.freenode.net/?nick=' + nick + '&theme=cli#e');
|
||||||
iframe.setAttribute('style', 'border:0; width:450px; height:500px;');
|
iframe.setAttribute('style', 'border:0; width:360px; height:500px;');
|
||||||
document.getElementById('ircbubble').appendChild(iframe);
|
document.getElementById('ircbubble').appendChild(iframe);
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue