From 6f5943073f8531faa36e318d362c195f45cac4bc Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Wed, 4 Aug 2021 20:23:01 +0100 Subject: [PATCH 1/3] :bug: Re: #115 - Fixes width in config container for long languages --- .../Configuration/ConfigContainer.vue | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/components/Configuration/ConfigContainer.vue b/src/components/Configuration/ConfigContainer.vue index ae9e4ff1..0454aa78 100644 --- a/src/components/Configuration/ConfigContainer.vue +++ b/src/components/Configuration/ConfigContainer.vue @@ -217,7 +217,8 @@ a.config-button, button.config-button { text-decoration: none; cursor: pointer; margin: 0.5rem auto; - width: 18rem; + min-width: 18rem; + width: 100%; svg.button-icon { path { fill: var(--config-settings-color); @@ -236,6 +237,13 @@ a.config-button, button.config-button { } } +a.hyperlink-wrapper { + margin: 0 auto; + text-decoration: none; + min-width: 18rem; + width: 100%; +} + p.app-version, p.language { margin: 0.5rem auto; font-size: 1rem; @@ -296,17 +304,14 @@ div.code-container { } } -a.hyperlink-wrapper { - margin: 0 auto; - text-decoration: none; -} - .main-options-container { display: flex; flex-direction: column; - padding-top: 2rem; background: var(--config-settings-background); height: calc(100% - 2rem); + width: fit-content; + margin: 0 auto; + padding: 2rem 0.5rem; h2 { margin: 0 auto 1rem auto; color: var(--config-settings-color); From 81fdfd1b2a79955ce548810a472e6e4adfd44da6 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Wed, 4 Aug 2021 20:27:18 +0100 Subject: [PATCH 2/3] :adhesive_bandage: Minor fix, reduce height to hide scrollbar --- src/components/Configuration/ConfigContainer.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Configuration/ConfigContainer.vue b/src/components/Configuration/ConfigContainer.vue index 0454aa78..369af458 100644 --- a/src/components/Configuration/ConfigContainer.vue +++ b/src/components/Configuration/ConfigContainer.vue @@ -308,10 +308,10 @@ div.code-container { display: flex; flex-direction: column; background: var(--config-settings-background); - height: calc(100% - 2rem); + height: calc(100% - 4rem); width: fit-content; margin: 0 auto; - padding: 2rem 0.5rem; + padding: 2rem 1rem; h2 { margin: 0 auto 1rem auto; color: var(--config-settings-color); From 86a04c94d248dc5745ec49a706a85cee7170c1c5 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Wed, 4 Aug 2021 20:36:53 +0100 Subject: [PATCH 3/3] :bookmark: Bumped to V 1.5.1 and updated changelog --- .github/CHANGELOG.md | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index aabc74a7..f74f6fca 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 🩹 1.5.1 - UI Quick Fix [PR #116](https://github.com/Lissy93/dashy/pull/116) +- Fixes #115 - Some longer languages (e.g. French) cause text to break to the next line + ## 🔒 1.5.0 - Improve Robustness of Auth [PR #113](https://github.com/Lissy93/dashy/pull/113) - Use both username + password for generating token, so that a change in either will log the user out - Prevent privilege escalation by disallowing a user from modifying their user type through the UI diff --git a/package.json b/package.json index 244a838e..e3f69789 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Dashy", - "version": "1.5.0", + "version": "1.5.1", "license": "MIT", "main": "server", "scripts": {