From e86a517a5e90aeacc80d8572a5d25db3a83291b1 Mon Sep 17 00:00:00 2001 From: Damian-Oswald Date: Mon, 20 Jan 2025 08:43:38 +0100 Subject: [PATCH] minor style changes --- docs/main.js | 4 ++-- docs/styles.css | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/main.js b/docs/main.js index b5849e8..e283d5a 100644 --- a/docs/main.js +++ b/docs/main.js @@ -360,8 +360,8 @@ function renderDatasets(data) {

${title}

${attributes["dcterms:description"][currentLanguage]}

-

${translations["dcterms:issued"]?.[currentLanguage] || "Issued:"} ${formatDate(attributes["dcterms:issued"])}

-

${translations["index.owner"]?.[currentLanguage] || "Owner:"} ${getDataOwnerName(attributes)}

+

${translations["dcterms:issued"]?.[currentLanguage] || "Issued"}: ${formatDate(attributes["dcterms:issued"])}

+

${translations["index.owner"]?.[currentLanguage] || "Owner"}: ${getDataOwnerName(attributes)}

${keywordsHTML}
diff --git a/docs/styles.css b/docs/styles.css index 65ebe59..56dedb0 100644 --- a/docs/styles.css +++ b/docs/styles.css @@ -69,15 +69,15 @@ a:hover { color: var(--primary-text-color); border: 2px solid var(--border-color); border-radius: 30px; /* Rounder corners */ - max-width: 500px; /* Limit the width */ - width: 18%; /* Ensure the search field grows to available space */ + max-width: 200px; /* Limit the width */ + width: 12%; /* Ensure the search field grows to available space */ box-sizing: border-box; /* Prevent padding from affecting width */ } #language-select { - max-width: 120px + max-width: 100px } #search { - width: 40%; + width: 50%; max-width: 800px; } #search:hover,