Skip to content

Commit 98536e3

Browse files
authored
Update fast-search-card.js
1 parent 73b112c commit 98536e3

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

dist/fast-search-card.js

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,13 @@ class FastSearchCard extends HTMLElement {
868868
padding-right: 20px;
869869
}
870870

871+
@media (max-width: 500px) {
872+
.results-grid {
873+
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
874+
gap: 10px;
875+
}
876+
}
877+
871878
.area-header {
872879
grid-column: 1 / -1;
873880
font-size: 16px;
@@ -1777,19 +1784,6 @@ class FastSearchCard extends HTMLElement {
17771784
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
17781785
gap: 16px;
17791786
}
1780-
1781-
/* Für sehr schmale Bildschirme */
1782-
@media (max-width: 500px) {
1783-
.ma-grid-container {
1784-
grid-template-columns: repeat(2, 1fr);
1785-
gap: 12px;
1786-
}
1787-
1788-
.ma-grid-image {
1789-
width: 60px;
1790-
height: 60px;
1791-
}
1792-
}
17931787

17941788
.ma-grid-item {
17951789
display: flex;

0 commit comments

Comments
 (0)