mirror of
https://github.com/fabrice404/olympics-calendar.git
synced 2026-02-04 21:00:58 +00:00
monospace time
This commit is contained in:
@ -295,7 +295,7 @@ const generateTodayPage = () => {
|
||||
const summary = event.SUMMARY.match(/ceremony/gi) ? event.SUMMARY : event.SUMMARY.split(" ").slice(1).join(" ");
|
||||
|
||||
html.push(`<div class="event py-4" data-start="${event.DTSTART}" data-end="${event.DTEND}" data-noc="${event._NOCS.join(",")}">`);
|
||||
html.push(" <div class=\"time w-1/4 align-top text-right inline-block text-5xl text-center pr-2 border-r font-bold font-mono border-slate-900/10\">__:__</div>");
|
||||
html.push(" <div class=\"time w-1/4 align-top text-right inline-block text-5xl text-center tabular-nums pr-2 border-r border-slate-900/10\">__:__</div>");
|
||||
html.push(" <div class=\"w-3/5 align-top inline-block text-black pl-2\">");
|
||||
html.push(` <div class="text-2xl">${sport.name.toUpperCase()} ${event._MEDAL ? "🏅" : ""}</div>`);
|
||||
html.push(` <div class="">${summary}`);
|
||||
|
||||
Reference in New Issue
Block a user