From b64fcfe97bcf0781fec99051f062aa6f783fcca9 Mon Sep 17 00:00:00 2001 From: MyuTsu Date: Mon, 1 Dec 2025 14:56:29 +0100 Subject: [PATCH 1/2] fix(login): text overflow on login page --- inc/alert.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/alert.class.php b/inc/alert.class.php index 084e14c..60d11b6 100644 --- a/inc/alert.class.php +++ b/inc/alert.class.php @@ -602,8 +602,9 @@ public static function getSizeClasses(string $size): string public static function displayAlert($alert, $p) { $twig = TemplateRenderer::getInstance(); + $size = $p['show_only_login_alerts'] ? 'col-12' : self::getSizeClasses($alert['size']); $twig->display('@news/display_alert.html.twig', [ - 'size' => self::getSizeClasses($alert['size']), + 'size' => $size, 'alert_fields' => $alert, 'content' => $alert['message'], 'can_close' => $alert['is_close_allowed'] && !$p['show_hidden_alerts'], From bcb7af375f9d4eef2bdc66be884a250ca79b3448 Mon Sep 17 00:00:00 2001 From: MyuTsu Date: Mon, 1 Dec 2025 15:04:13 +0100 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88935af..283e34b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] + +### Fixed + +- Fix alert overflow on large login screens. + ## [1.13.0] - 2025-09-22 ### Added