From db21bd8a55a5f775d1ed429eeaa387ab85c86a5d Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 17 Feb 2025 19:52:32 -0500 Subject: [PATCH] Restrict media to the size of its container. --- default_environment/stylesheet/main.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/default_environment/stylesheet/main.css b/default_environment/stylesheet/main.css index 9beb74d..de07c06 100644 --- a/default_environment/stylesheet/main.css +++ b/default_environment/stylesheet/main.css @@ -270,4 +270,11 @@ body { b { font-weight: 700; } + + /* Never have media larger than its container */ + img, + picture, + video { + max-width: 100%; + } }