fix: hide scoreboard links from recent match cards

This commit is contained in:
devRaGonSa
2026-05-20 18:07:24 +02:00
parent 43f9ad2d2f
commit 6a480669dd

View File

@@ -806,3 +806,49 @@
justify-content: flex-start; justify-content: flex-start;
} }
} }
.historical-match-card--clean {
gap: 12px;
}
.historical-match-card__top--clean {
display: block;
}
.historical-match-meta--clean {
grid-template-columns: minmax(180px, 1.3fr) minmax(120px, 0.8fr) minmax(110px, 0.7fr) minmax(110px, 0.7fr) auto;
align-items: end;
}
.historical-match-card__actions-cell {
display: flex;
align-items: end;
justify-content: flex-end;
min-width: 250px;
}
.historical-match-card__actions-cell .historical-match-card__actions {
align-items: center;
justify-content: flex-end;
}
@media (max-width: 920px) {
.historical-match-meta--clean {
grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
.historical-match-card__actions-cell {
justify-content: flex-start;
min-width: 0;
}
.historical-match-card__actions-cell .historical-match-card__actions {
justify-content: flex-start;
}
}
/* Hide public scoreboard action only in the recent matches list.
The internal detail page can still show its own scoreboard button. */
#recent-matches-list .historical-match-card__link[href^="https://scoreboard.comunidadhll.es"] {
display: none;
}