diff --git a/GUI/style.css b/GUI/style.css index 6cd1c9a..0ab34b6 100644 --- a/GUI/style.css +++ b/GUI/style.css @@ -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);