From 89644d2117ee39d40e24d52a3aca78578082788c Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Mon, 2 Feb 2026 15:38:21 -0500 Subject: [PATCH] Fix embed overflow: add box-sizing border-box with padding Padding without border-box caused content to overflow the iframe since body has min-width: 100%. --- remarkbox/static/css/embed.css | 1 + 1 file changed, 1 insertion(+) diff --git a/remarkbox/static/css/embed.css b/remarkbox/static/css/embed.css index e0a9f6a..d25a061 100644 --- a/remarkbox/static/css/embed.css +++ b/remarkbox/static/css/embed.css @@ -4,6 +4,7 @@ body { margin-right: 0px; margin-bottom: 16px; padding: 0 8px; + box-sizing: border-box; /* This is a hack for iOS to prevent overflow on ipads and phones */ width: 1px;