From c0109575d64b98576d031d44b137bccfeff50890 Mon Sep 17 00:00:00 2001 From: AMIAY Date: Thu, 22 Jan 2026 07:43:39 +0100 Subject: [PATCH] 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. --- GUI/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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);