Commit fb1d413d authored by Jakob Moser's avatar Jakob Moser
Browse files

Use semantic <main> element for song list

parent 8ede2bbe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -242,7 +242,7 @@ const SongList = {

        if (this.isLoading && (!this.allSongs || this.allSongs.length === 0)) {
            return m(
                "div.song-list-outer-container",
                "main",
                m("div.loading-placeholder", "Lade Songs vom Server..."),
            )
        }
@@ -363,7 +363,7 @@ const SongList = {
            )
        }

        return m("div.song-list-outer-container", elementsToRender)
        return m("main", elementsToRender)
    },
}

+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ input[type="search"]::placeholder {
}

/* Song-Liste Container */
.song-list-outer-container {
main{
    padding-top: calc(60px + 48px); /* Höhe Suchleiste + Höhe TabBar */
    padding-bottom: 20px; /* Platz für Paginierung, falls am Ende */
}