- Introduce cache busting (to circumvent aggressive caching on iOS - but ideal in other contexts as well)

- Change the build process to allow cache busting
- Optimisations to the build process
- Several improvements of UI geared towards mobile experience
-
This commit is contained in:
Josako
2025-09-25 17:28:01 +02:00
parent cc47ce2d32
commit 16ce59ae98
32 changed files with 1538 additions and 899 deletions

View File

@@ -14,8 +14,9 @@
/* App container layout */
.app-container {
display: flex;
height: 100vh; /* fallback */
height: 100dvh; /* prefer dynamic viewport unit */
/* Use visual viewport variable when available */
min-height: 0;
height: calc(var(--vvh, 1vh) * 100);
width: 100%;
}
@@ -85,8 +86,7 @@
display: flex;
flex-direction: column;
min-height: 0;
height: 100vh; /* fallback for desktop */
height: 100dvh; /* prefer dynamic viewport on desktop */
height: auto; /* prefer dynamic viewport on desktop */
}
.chat-container {
@@ -97,16 +97,19 @@
}
html, body {
height: 100%;
height: calc(var(--vvh, 1vh) * 100); min-height: 0;
}
/* Base reset & overflow control */
* { box-sizing: border-box; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--background-color);
height: 100vh;
overflow: hidden;
overflow: hidden; /* prevent double scroll; inner containers handle scrolling */
}
.container {
@@ -281,14 +284,6 @@ body {
}
:root { --mobile-header-height: 60px; } /* default/minimum */
/* Content area takes remaining space */
.content-area {
flex: 1;
height: calc(100vh - var(--mobile-header-height)); /* fallback */
height: calc(100dvh - var(--mobile-header-height)); /* prefer dynamic viewport */
min-height: 0;
}
}
/* Responsieve design regels worden nu gedefinieerd in chat-components.css */