fixed the relative font size of agenda according to tasks duration