style: QR-Code auf Server-Homepage zentrieren
#qrcode-Container nutzt jetzt display:flex + justify-content:center statt margin:0 auto, damit das von QRCode.js generierte Canvas korrekt mittig angezeigt wird.
This commit is contained in:
parent
dfa4b37eda
commit
11d2094eef
2 changed files with 7 additions and 6 deletions
|
|
@ -9,11 +9,11 @@ explizite Migration abgedeckt sein, damit User-Daten bei App-Updates erhalten bl
|
||||||
|
|
||||||
**Version 4** (Stand: Mai 2026)
|
**Version 4** (Stand: Mai 2026)
|
||||||
|
|
||||||
| Migration | Änderung |
|
| Migration | Änderung |
|
||||||
|-----------|----------|
|
| --------- | ----------------------------------------------------- |
|
||||||
| v1 → v2 | `kcal_per_100g` → `kcal_per_kg`, `min_stock` entfernt |
|
| v1 → v2 | `kcal_per_100g` → `kcal_per_kg`, `min_stock` entfernt |
|
||||||
| v2 → v3 | Tabelle `pending_sync_ops` hinzugefügt |
|
| v2 → v3 | Tabelle `pending_sync_ops` hinzugefügt |
|
||||||
| v3 → v4 | Tabelle `messages` hinzugefügt |
|
| v3 → v4 | Tabelle `messages` hinzugefügt |
|
||||||
|
|
||||||
## Checkliste für neue Schema-Änderungen
|
## Checkliste für neue Schema-Änderungen
|
||||||
|
|
||||||
|
|
@ -71,6 +71,7 @@ Room exportiert Schemas automatisch nach `app/schemas/`. Diese JSON-Dateien werd
|
||||||
versioniert und können für `MigrationTestHelper` verwendet werden.
|
versioniert und können für `MigrationTestHelper` verwendet werden.
|
||||||
|
|
||||||
Konfiguration in `app/build.gradle.kts`:
|
Konfiguration in `app/build.gradle.kts`:
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
ksp {
|
ksp {
|
||||||
arg("room.schemaLocation", "$projectDir/schemas")
|
arg("room.schemaLocation", "$projectDir/schemas")
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ private fun buildHomepageHtml(versionName: String, versionCode: Int, apkUrl: Str
|
||||||
}
|
}
|
||||||
h1 { font-size: 28px; margin-bottom: 8px; color: #1a1a1a; }
|
h1 { font-size: 28px; margin-bottom: 8px; color: #1a1a1a; }
|
||||||
.version { color: #666; font-size: 14px; margin-bottom: 32px; }
|
.version { color: #666; font-size: 14px; margin-bottom: 32px; }
|
||||||
#qrcode { margin: 0 auto 24px; }
|
#qrcode { display: flex; justify-content: center; margin-bottom: 24px; }
|
||||||
#qrcode canvas { border-radius: 8px; }
|
#qrcode canvas { border-radius: 8px; }
|
||||||
.download-link {
|
.download-link {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue