Skip to content

Commit 68d41b8

Browse files
jumpalottahighfabaff
authored andcommitted
Make component cards 100% width on mobile (home-assistant#2886)
1 parent 6119e42 commit 68d41b8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

sass/custom/_component_page.scss

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@
1414
}
1515
}
1616

17+
@media only screen and (max-width: $palm-end) {
18+
#components-page {
19+
.hass-option-cards {
20+
.option-card {
21+
width: 100%;
22+
}
23+
}
24+
}
25+
}
26+
1727
@media only screen and (max-width: $lap-end) {
1828
#components-page {
1929
.filter-button-group {
@@ -246,4 +256,4 @@
246256
transform:scale(0);
247257
opacity:0
248258
}
249-
}
259+
}

0 commit comments

Comments
 (0)