From 173bbeb321e9bf5ca9b6f6102de429e0062bfd8c Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Tue, 1 Mar 2022 12:04:27 +0100 Subject: timetrack: Improve formatting of Account note in calendar --- modules/timetrack/timetrack.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/timetrack/timetrack.html') 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); } -- cgit v1.2.3-70-g09d2