Software /
code /
prosody-modules
Diff
mod_http_muc_log/http_muc_log.html @ 3580:907ccda3f0d2
mod_http_muc_log: Increase clickable area on dates
It was sometimes hard to hit the one or two character wide links, this
should make it easier.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 05 May 2019 13:00:25 +0200 |
parent | 3579:b5511c48c958 |
child | 3582:444e2306c99a |
line wrap: on
line diff
--- a/mod_http_muc_log/http_muc_log.html Sun May 05 12:59:06 2019 +0200 +++ b/mod_http_muc_log/http_muc_log.html Sun May 05 13:00:25 2019 +0200 @@ -28,8 +28,8 @@ nav :empty::after,nav :empty::before{content:""} table{display:inline-block; margin:1ex 1em;vertical-align:top;} th{font-size:x-small} -td{text-align:right;color:#bababa;padding:.5ex} -td a{padding:0} +td{text-align:right;color:#bababa} +td > a, td > span{padding:0.4em} .content{background-color:white;padding:1em;list-style-position:inside;} .time{float:right;font-size:small;opacity:0.2;} li:hover .time{opacity:1;} @@ -64,7 +64,7 @@ <caption>{item.month}</caption> <thead><tr><th>Mon</th><th>Tue</th><th>Wed</th><th>Thu</th><th>Fri</th><th>Sat</th><th>Sun</th></tr></thead> <tbody>{item.weeks# -<tr>{item.days#<td>{item.href&<a href="{item.href}{hide_presence&?p=h}">}{item.day? }{item.href&</a>}</td>}</tr>} +<tr>{item.days#<td>{item.href&<a href="{item.href}{hide_presence&?p=h}">}<span>{item.day? }</span>{item.href&</a>}</td>}</tr>} </tbody> </table> }