Fix area title position

put the area title card inside the vertical stack so everything matches up in the desktop view.
This commit is contained in:
Aalian Khan
2023-09-13 19:20:41 -04:00
parent 633e548531
commit 14f514fffe
2 changed files with 6 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -82,10 +82,6 @@ class HomeView extends AbstractView {
// Add area cards. // Add area cards.
homeViewCards.push({ homeViewCards.push({
type: "custom:mushroom-title-card",
title: "Areas",
},
{
type: "vertical-stack", type: "vertical-stack",
cards: areaCards, cards: areaCards,
}); });
@@ -182,6 +178,11 @@ class HomeView extends AbstractView {
*/ */
#createAreaCards() { #createAreaCards() {
const groupedCards = []; const groupedCards = [];
groupedCards.push({
type: "custom:mushroom-title-card",
title: "Areas",
},
);
import("../cards/AreaCard").then(areaModule => { import("../cards/AreaCard").then(areaModule => {
const areaCards = []; const areaCards = [];