style(registry): дата и половина дня в колонке «Дата» — двумя строками

В узкой колонке «Вторая половина дня» переносилась посреди фразы («Вторая /
половина дня»). Дата — первой строкой, половина дня — второй, мелким. SW: v123.
This commit is contained in:
Hermes 2026-09-28 23:20:53 +02:00
parent 3b90b79f9f
commit 5979b03f9f
2 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
const isLocalhost = self.location.hostname === "localhost" || self.location.hostname === "127.0.0.1";
if (!isLocalhost) {
const STATIC_CACHE = "construction-delivery-static-v122";
const STATIC_CACHE = "construction-delivery-static-v123";
const RUNTIME_CACHE = "construction-delivery-runtime-v119";
const APP_SHELL_URLS = ["/", "/client", "/index.html", "/manifest.webmanifest", "/icons/icon-192.png", "/icons/icon-512.png"];

View File

@ -233,8 +233,10 @@ const renderRow = (g, onSelectSet) => {
</span>
</div>
<div className="px-3 py-2.5 text-sm text-[var(--color-text-muted)]">
{slotDate ? fmtDate(slotDate) : "—"}
{slotTime ? <span className="ml-1 text-xs text-[var(--color-text-muted)]">{slotTime}</span> : null}
{/* Дата и половина дня отдельными строками: в узкой колонке «Вторая половина дня»
переносилась посреди фразы. */}
<div className={slotDate ? "text-[var(--color-text)]" : ""}>{slotDate ? fmtDate(slotDate) : "—"}</div>
{slotTime ? <div className="mt-0.5 text-xs">{slotTime}</div> : null}
</div>
<div className="px-3 py-2.5 text-sm text-[var(--color-text-muted)]">{g.assignedDriverName || "—"}</div>
<div className="px-3 py-2.5">