diff options
-rw-r--r-- | webclient/client.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/webclient/client.html b/webclient/client.html index 939b9cb..241ca90 100644 --- a/webclient/client.html +++ b/webclient/client.html @@ -263,6 +263,7 @@ function drawRoomEntry(type,args){ alert("drawRoomEntry on unknown type '"+type+"'!"); break; } + tr.scrollIntoView(); } function addRoomEntry(roomid,type,args){ @@ -467,6 +468,12 @@ table{ #roomlog_table{ width:100%; } +#roomlog{ + /* The scrolling-table hack */ + display:block; + overflow-y:auto; + height:calc(100vh - 63px); /* TODO: figure out whether 63 is ALWAYS correct */ +} #roomlog > tr{ vertical-align:top; } |