aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app/browser.js3
-rw-r--r--src/app/main.css11
2 files changed, 13 insertions, 1 deletions
diff --git a/src/app/browser.js b/src/app/browser.js
index c23f217..5695661 100644
--- a/src/app/browser.js
+++ b/src/app/browser.js
@@ -145,9 +145,10 @@ function BrowserEl(properties) {
</div>
<div class="text">
<div class="title">${properties.title}</div>
- <div class="description">${properties.description} - ${lang("gui.browser.madeby")} ${properties.author}</div>
+ <div class="description">${properties.description}</div>
<button onclick="installFromURL('${properties.download}')">${installstr}</button>
<button class="visual">${properties.version}</button>
+ <button class="visual">${lang("gui.browser.madeby")} ${properties.author}</button>
</div>
</div>
`
diff --git a/src/app/main.css b/src/app/main.css
index b6a07eb..4f1ddc2 100644
--- a/src/app/main.css
+++ b/src/app/main.css
@@ -191,6 +191,17 @@ button {
border-radius: var(--spacing);
}
+#browser .el .text {
+ overflow: hidden;
+}
+
+#browser .el .title, #browser .el .description {
+ height: 1.2em;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+}
+
#browser .el .title {font-size: 1.2em}
#browser .el .description {font-size: 0.8em}
#browser .el button {