From e3e195ea07fd57288d32c842689ebed7fba636f0 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Wed, 18 Nov 2026 17:41:44 +0100 Subject: style(core): improve mobile table layouts Hide secondary received and sent table columns below the `md` breakpoint while keeping status, primary identifiers, details, and actions accessible. Add responsive wrappers, mobile received timestamps, and wrapping for long paths and URLs to improve small-screen readability. --- tests/forms/test_validators.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/forms') diff --git a/tests/forms/test_validators.py b/tests/forms/test_validators.py index 8822310..2c427d3 100644 --- a/tests/forms/test_validators.py +++ b/tests/forms/test_validators.py @@ -28,8 +28,11 @@ def test_allowed_hostname_accepts_configured_hostname(app: Flask) -> None: def test_allowed_hostname_rejects_unconfigured_hostname(app: Flask) -> None: app.config["ALLOWED_TARGET_HOSTNAMES"] = ["dennisfink.me"] form = URLForm(MultiDict({"url": "https://example.com/post"})) - with app.app_context(), pytest.raises( - ValidationError, match="Target hostname is not in ALLOWED_TARGET_HOSTNAMES" + with ( + app.app_context(), + pytest.raises( + ValidationError, match="Target hostname is not in ALLOWED_TARGET_HOSTNAMES" + ), ): AllowedTargetHostname()(form, form.url) -- cgit v1.3.1