From 4c7163539759aa271090b15fffaa3063aaa1ed07 Mon Sep 17 00:00:00 2001 From: tye-exe Date: Sat, 26 Jul 2025 19:29:53 +0100 Subject: [PATCH 1/4] fix: Respect preffered language It was being overridden to polish. --- frontend/src/i18n.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/i18n.js b/frontend/src/i18n.js index 604dec8..600dd88 100644 --- a/frontend/src/i18n.js +++ b/frontend/src/i18n.js @@ -23,8 +23,7 @@ i18n // init i18next .init({ resources, - lng: 'pl', // Set Polish as default language - fallbackLng: 'en', + fallbackLng: 'pl', // Set Polish as default language debug: false, interpolation: { @@ -32,8 +31,8 @@ i18n }, detection: { - order: ['localStorage', 'navigator'], - caches: ['localStorage'], + order: ['cookie', 'localStorage', 'navigator'], + caches: ['localStorage', 'cookie'], }, }); From 0978dc2389b2cce2ea96482598bb873c4d3bda25 Mon Sep 17 00:00:00 2001 From: tye-exe Date: Sat, 26 Jul 2025 19:52:33 +0100 Subject: [PATCH 2/4] fix: main-content disappearing on mobile Changed the sidebar to not cover the main-content on screen widths bellow 768px. I'm not sure why this was chosen as the min width elsewhere, but i will follow it. --- frontend/src/index.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 73e34fe..8736f8b 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -9,11 +9,17 @@ body { } .sidebar { - min-height: calc(100vh - 56px); background-color: #343a40; padding-top: 20px; } +/* The "min-width" comes from the "min-width" media attribute on "main-content" */ +@media (min-width: 768px) { + .sidebar { + min-height: calc(100vh - 56px); + } +} + /* Removed color and background styles as they are set inline in Sidebar.js */ /* Kept basic layout and transition styles */ .sidebar .nav-link { From 22008db6a26badcda58dc3c40f481d2fbfd6d9e9 Mon Sep 17 00:00:00 2001 From: Tye <131195812+tye-exe@users.noreply.github.com> Date: Sat, 26 Jul 2025 21:24:37 +0100 Subject: [PATCH 3/4] fix: Unnecessary cookie Removed the unnecessary use of a cookie for storing data --- frontend/src/i18n.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/i18n.js b/frontend/src/i18n.js index 600dd88..1d3dedb 100644 --- a/frontend/src/i18n.js +++ b/frontend/src/i18n.js @@ -31,8 +31,8 @@ i18n }, detection: { - order: ['cookie', 'localStorage', 'navigator'], - caches: ['localStorage', 'cookie'], + order: ['localStorage', 'navigator'], + caches: ['localStorage'], }, }); From 2d3c45563d88e7a248fe00b9399c5d2e1f9fb4d9 Mon Sep 17 00:00:00 2001 From: Dunaj Date: Sat, 26 Jul 2025 22:32:36 +0200 Subject: [PATCH 4/4] RELEASE V 1.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6bc3a47..a5fbeb2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docker-mailserver-gui", - "version": "1.0.0", + "version": "1.0.1", "description": "[![Docker Pulls](https://img.shields.io/docker/pulls/dunajdev/docker-mailserver-gui)](https://hub.docker.com/r/dunajdev/docker-mailserver-gui)", "main": "index.js", "scripts": {