From cd5f65cb57777f895f8fec502abcb66bc8f809ef Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Fri, 3 Oct 2025 12:33:16 +0100 Subject: [PATCH] QRZ links and wrapping features. Closes #7 --- webassets/css/style.css | 10 ++++++++++ webassets/js/code.js | 14 +++++++------- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/webassets/css/style.css b/webassets/css/style.css index a82d4ec..0ee3944 100644 --- a/webassets/css/style.css +++ b/webassets/css/style.css @@ -9,6 +9,10 @@ } } +td.nowrap { + text-wrap: nowrap; +} + span.flag-wrapper { display: inline-block; width: 1.7em; @@ -60,4 +64,10 @@ div.appearing-panel { p.filter-card-text { line-height: 2.5em !important; +} + +a.dx-link { + color: var(--bs-emphasis-color); + text-decoration: none; + font-weight: bold; } \ No newline at end of file diff --git a/webassets/js/code.js b/webassets/js/code.js index aee3161..d2b5231 100644 --- a/webassets/js/code.js +++ b/webassets/js/code.js @@ -112,14 +112,14 @@ function updateTable() { var bandFullName = s['band'] ? s['band'] + " band": "Unknown band"; // Populate the row - $tr.append(`${time_formatted}`); - $tr.append(`${s["dx_flag"]}${s["dx_call"]}`); - $tr.append(`${freq_string}`); - $tr.append(`${mode_string}`); + $tr.append(`${time_formatted}`); + $tr.append(`${s["dx_flag"]}${s["dx_call"]}`); + $tr.append(`${freq_string}`); + $tr.append(`${mode_string}`); $tr.append('' + escapeHtml(`${s["comment"]}`) + ''); - $tr.append(` ${s["source"]}`); - $tr.append(`${sig_refs}`); - $tr.append(`${de_flag}${s["de_call"]}`); + $tr.append(` ${s["source"]}`); + $tr.append(`${sig_refs}`); + $tr.append(`${de_flag}${s["de_call"]}`); table.find('tbody').append($tr); });