From b69e72aa7df4df5770e3a305eac507ab1f20e96b Mon Sep 17 00:00:00 2001 From: 0neGal Date: Sat, 5 Feb 2022 19:04:11 +0100 Subject: moved author position, and fixed text overflowing --- src/app/browser.js | 3 ++- src/app/main.css | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'src') 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) {
${properties.title}
-
${properties.description} - ${lang("gui.browser.madeby")} ${properties.author}
+
${properties.description}
+
` 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 { -- cgit v1.2.3