www irc message popup - make it work better on mobile screens

This commit is contained in:
Carsten Haitzler 2017-07-11 11:52:40 +09:00
parent a5a6bc9918
commit 6e33cd8225
2 changed files with 5 additions and 5 deletions

View File

@ -673,10 +673,10 @@ table {
#ircbubble {
background-color: #181818;
border-radius: 20px;
padding: 20px;
right: 120px;
bottom: 30px;
border-radius: 5px;
padding: 5px;
right: 30px;
bottom: 120px;
position: fixed;
z-index: 9998;
transform-origin: bottom;

View File

@ -183,6 +183,6 @@ var iframe = document.createElement('iframe');
iframe.setAttribute('src',
'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);
</script>