diff --git a/code/chat.js b/code/chat.js index 0ece265f..eb4b2b81 100644 --- a/code/chat.js +++ b/code/chat.js @@ -469,14 +469,16 @@ window.chat.getActive = function() { window.chat.toggle = function() { var c = $('#chat, #chatcontrols'); if(c.hasClass('expand')) { - $('#chatcontrols a:first').text('expand'); + $('#chatcontrols a:first').text('◢◣'); c.removeClass('expand'); var div = $('#chat > div:visible'); div.data('ignoreNextScroll', true); div.scrollTop(99999999); // scroll to bottom + $('.leaflet-control').css('margin-left', '0'); } else { - $('#chatcontrols a:first').text('shrink'); + $('#chatcontrols a:first').text('◥◤'); c.addClass('expand'); + $('.leaflet-control').css('margin-left', '720px'); chat.needMoreMessages(); } } diff --git a/style.css b/style.css index 683c2963..eebbc734 100644 --- a/style.css +++ b/style.css @@ -100,6 +100,11 @@ a:hover { border: 1px solid #20A8B1; } +#chatcontrols a:first-child { + letter-spacing:-1px; + text-decoration: none !important; +} + #chatcontrols a.active { border-color: #FFCE00; border-bottom-width:0px;