Adjust news card aspect ratio and add Play tab style

Set a default aspect ratio for .news-card and add a specific style for the LATEST NEWS section in the Play tab to override the aspect ratio and use full height.
This commit is contained in:
AMIAY
2026-01-22 07:43:39 +01:00
parent 2a024b61dd
commit c0109575d6

View File

@@ -1016,7 +1016,7 @@ body {
.news-card {
position: relative;
height: 100%;
aspect-ratio: 16/10;
border-radius: 8px;
overflow: hidden;
cursor: pointer;
@@ -1025,6 +1025,12 @@ body {
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Style spécifique pour LATEST NEWS (Play tab) */
.news-grid-horizontal .news-card {
aspect-ratio: unset;
height: 100%;
}
.news-card:hover {
box-shadow: 0 8px 40px rgba(147, 51, 234, 0.2);
border-color: rgba(147, 51, 234, 0.3);