diff options
author | 0neGal <mail@0negal.com> | 2022-02-05 19:04:11 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2022-02-05 19:04:11 +0100 |
commit | b69e72aa7df4df5770e3a305eac507ab1f20e96b (patch) | |
tree | c794a309ced18e48fe8c95b9dd11a6725e7227eb /src | |
parent | 392a46168971eb3a4d578cec2b8ebea533e02747 (diff) | |
download | Viper-b69e72aa7df4df5770e3a305eac507ab1f20e96b.tar.gz Viper-b69e72aa7df4df5770e3a305eac507ab1f20e96b.zip |
moved author position, and fixed text overflowing
Diffstat (limited to 'src')
-rw-r--r-- | src/app/browser.js | 3 | ||||
-rw-r--r-- | src/app/main.css | 11 |
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 { |