Commit 8dba7680 authored by Jakob Moser's avatar Jakob Moser
Browse files

Remove unnecessary #app div

parent fb1d413d
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -41,11 +41,5 @@ const AppLayout = {
}

// Finde das Root-Element im HTML, in das die Mithril-Anwendung gemountet werden soll.
const appRoot = document.getElementById("app")
if (appRoot) {
const appRoot = document.querySelector("body")
m.mount(appRoot, AppLayout)
} else {
    console.error(
        "Root-Element #app nicht gefunden! Die Anwendung kann nicht gestartet werden.",
    )
}
+0 −5
Original line number Diff line number Diff line
@@ -9,11 +9,6 @@ html {
    line-height: 1.6;
}

#app {
    max-width: 100%;
    margin: 0 auto;
}

.loading-placeholder,
.view-message {
    /* Kombiniert für Konsistenz */