From 3b64e829a8104c09c0a74575c88a974a848a0262 Mon Sep 17 00:00:00 2001 From: l5y <220195275+l5yth@users.noreply.github.com> Date: Tue, 16 Sep 2025 19:43:31 +0200 Subject: [PATCH] Hide location columns on medium screens (#109) --- web/views/index.erb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/web/views/index.erb b/web/views/index.erb index f87a691..8f06791 100644 --- a/web/views/index.erb +++ b/web/views/index.erb @@ -88,6 +88,19 @@ .info-details dt { font-weight: 600; margin-top: 12px; color: #222; } .info-details dd { margin: 4px 0 0; } .info-details dd a { color: inherit; word-break: break-word; } + @media (max-width: 1280px) { + #nodes th:nth-child(12), + #nodes td:nth-child(12), + #nodes th:nth-child(13), + #nodes td:nth-child(13), + #nodes th:nth-child(14), + #nodes td:nth-child(14), + #nodes th:nth-child(15), + #nodes td:nth-child(15) { + display: none; + } + } + @media (max-width: 768px) { .row { flex-direction: column; align-items: stretch; gap: var(--pad); } .map-row { flex-direction: column; }