Skip to content

Commit

Permalink
minor style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian-Oswald committed Jan 20, 2025
1 parent 0cd0a46 commit e86a517
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ function renderDatasets(data) {
<div class="dataset-info">
<h3>${title}</h3>
<p>${attributes["dcterms:description"][currentLanguage]}</p>
<p><strong>${translations["dcterms:issued"]?.[currentLanguage] || "Issued:"}</strong> ${formatDate(attributes["dcterms:issued"])}</p>
<p><strong>${translations["index.owner"]?.[currentLanguage] || "Owner:"}</strong> ${getDataOwnerName(attributes)}</p>
<p><strong>${translations["dcterms:issued"]?.[currentLanguage] || "Issued"}:</strong> ${formatDate(attributes["dcterms:issued"])}</p>
<p><strong>${translations["index.owner"]?.[currentLanguage] || "Owner"}:</strong> ${getDataOwnerName(attributes)}</p>
<div class="keywords">${keywordsHTML}</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e86a517

Please sign in to comment.