Skip to content

Commit 81d03b7

Browse files
dunaj-devtye-exe
andauthored
V 1.0.1 (#4)
* fix: Respect preferred language It was being overridden to polish. * 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. * RELEASE V 1.0.1 --------- Co-authored-by: tye-exe <[email protected]> Co-authored-by: Tye <[email protected]>
1 parent a954ee3 commit 81d03b7

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

frontend/src/i18n.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ i18n
2323
// init i18next
2424
.init({
2525
resources,
26-
lng: 'pl', // Set Polish as default language
27-
fallbackLng: 'en',
26+
fallbackLng: 'pl', // Set Polish as default language
2827
debug: false,
2928

3029
interpolation: {

frontend/src/index.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,17 @@ body {
99
}
1010

1111
.sidebar {
12-
min-height: calc(100vh - 56px);
1312
background-color: #343a40;
1413
padding-top: 20px;
1514
}
1615

16+
/* The "min-width" comes from the "min-width" media attribute on "main-content" */
17+
@media (min-width: 768px) {
18+
.sidebar {
19+
min-height: calc(100vh - 56px);
20+
}
21+
}
22+
1723
/* Removed color and background styles as they are set inline in Sidebar.js */
1824
/* Kept basic layout and transition styles */
1925
.sidebar .nav-link {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docker-mailserver-gui",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "[![Docker Pulls](https://img.shields.io/docker/pulls/dunajdev/docker-mailserver-gui)](https://hub.docker.com/r/dunajdev/docker-mailserver-gui)",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)