Skip to content

Commit 7734d88

Browse files
committed
Restore empty state surprise action
1 parent bf8310b commit 7734d88

2 files changed

Lines changed: 78 additions & 12 deletions

File tree

dist/homeii-music-flow.js

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17252,16 +17252,49 @@ class HomeiiMusicFlowBaseCard extends HomeiiBaseMusicCard {
1725217252
display:none;
1725317253
}
1725417254
.card.layout-tablet.empty-media .hero-split-shell {
17255-
grid-template-columns:minmax(0, 1fr) !important;
17255+
grid-template-columns:minmax(150px, 220px) minmax(0, 1fr) !important;
17256+
align-items:center;
1725617257
justify-items:center;
1725717258
}
17258-
.card.layout-tablet.empty-media .hero-visual,
17259-
.card.layout-tablet.empty-media .art-stage,
17260-
.card.layout-tablet.empty-media .mobile-art-shell,
17261-
.card.layout-tablet.empty-media .art-stack-view,
17259+
.card.layout-tablet.empty-media .hero-visual {
17260+
display:grid !important;
17261+
justify-self:center;
17262+
width:min(210px, 22vw);
17263+
min-width:150px;
17264+
}
17265+
.card.layout-tablet.empty-media .art-stage {
17266+
display:grid !important;
17267+
place-items:center;
17268+
width:100%;
17269+
min-height:0;
17270+
padding:0;
17271+
}
17272+
.card.layout-tablet.empty-media .mobile-art-shell {
17273+
display:grid !important;
17274+
place-items:center;
17275+
width:168px;
17276+
height:168px;
17277+
padding:0;
17278+
border-radius:999px;
17279+
background:transparent;
17280+
border:none;
17281+
box-shadow:none;
17282+
overflow:visible;
17283+
}
17284+
.card.layout-tablet.empty-media .art-stack-view {
17285+
display:grid !important;
17286+
place-items:center;
17287+
width:168px;
17288+
min-height:168px;
17289+
background:transparent;
17290+
border:none;
17291+
box-shadow:none;
17292+
overflow:visible;
17293+
}
1726217294
.card.layout-tablet.empty-media .art-stack-viewport,
1726317295
.card.layout-tablet.empty-media .art-stack-container {
17264-
display:none !important;
17296+
display:contents !important;
17297+
min-height:0 !important;
1726517298
}
1726617299
.card.layout-tablet.empty-media .hero-info {
1726717300
max-width:min(820px, 100%);

src/homeii-music-flow.js

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17252,16 +17252,49 @@ class HomeiiMusicFlowBaseCard extends HomeiiBaseMusicCard {
1725217252
display:none;
1725317253
}
1725417254
.card.layout-tablet.empty-media .hero-split-shell {
17255-
grid-template-columns:minmax(0, 1fr) !important;
17255+
grid-template-columns:minmax(150px, 220px) minmax(0, 1fr) !important;
17256+
align-items:center;
1725617257
justify-items:center;
1725717258
}
17258-
.card.layout-tablet.empty-media .hero-visual,
17259-
.card.layout-tablet.empty-media .art-stage,
17260-
.card.layout-tablet.empty-media .mobile-art-shell,
17261-
.card.layout-tablet.empty-media .art-stack-view,
17259+
.card.layout-tablet.empty-media .hero-visual {
17260+
display:grid !important;
17261+
justify-self:center;
17262+
width:min(210px, 22vw);
17263+
min-width:150px;
17264+
}
17265+
.card.layout-tablet.empty-media .art-stage {
17266+
display:grid !important;
17267+
place-items:center;
17268+
width:100%;
17269+
min-height:0;
17270+
padding:0;
17271+
}
17272+
.card.layout-tablet.empty-media .mobile-art-shell {
17273+
display:grid !important;
17274+
place-items:center;
17275+
width:168px;
17276+
height:168px;
17277+
padding:0;
17278+
border-radius:999px;
17279+
background:transparent;
17280+
border:none;
17281+
box-shadow:none;
17282+
overflow:visible;
17283+
}
17284+
.card.layout-tablet.empty-media .art-stack-view {
17285+
display:grid !important;
17286+
place-items:center;
17287+
width:168px;
17288+
min-height:168px;
17289+
background:transparent;
17290+
border:none;
17291+
box-shadow:none;
17292+
overflow:visible;
17293+
}
1726217294
.card.layout-tablet.empty-media .art-stack-viewport,
1726317295
.card.layout-tablet.empty-media .art-stack-container {
17264-
display:none !important;
17296+
display:contents !important;
17297+
min-height:0 !important;
1726517298
}
1726617299
.card.layout-tablet.empty-media .hero-info {
1726717300
max-width:min(820px, 100%);

0 commit comments

Comments
 (0)