summaryrefslogtreecommitdiff
path: root/modules/timetrack
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2022-03-01 12:04:27 +0100
committerTom Smeding <tom@tomsmeding.com>2022-03-01 12:04:27 +0100
commit173bbeb321e9bf5ca9b6f6102de429e0062bfd8c (patch)
treebd4cb95dee820ae416d061bb5c1a595aece6f96d /modules/timetrack
parenta4fa26f1f12a974ad9599acafb5bfab6ef527cb1 (diff)
timetrack: Improve formatting of Account note in calendar
Diffstat (limited to 'modules/timetrack')
-rw-r--r--modules/timetrack/timetrack.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/timetrack/timetrack.html b/modules/timetrack/timetrack.html
index 47cba40..513684e 100644
--- a/modules/timetrack/timetrack.html
+++ b/modules/timetrack/timetrack.html
@@ -248,7 +248,10 @@ function refreshcalendar(list,npreweeks){
var descr=Math.round(prevSurplus/1000/3600*10)/10+"h";
td=document.createElement("td");
- td.appendChild(document.createTextNode("Account: " + descr));
+ var span=document.createElement("span");
+ span.setAttribute("style","display:inline-block;width: max-content;");
+ span.appendChild(document.createTextNode("Account: " + descr));
+ td.appendChild(span);
tr.appendChild(td);
}