From bae1fa69cc0dd5329fcc9cdd1e4d8f08baa66504 Mon Sep 17 00:00:00 2001 From: Luis Rodrigues Date: Tue, 19 Sep 2023 11:02:52 +0200 Subject: [PATCH] fix: footnote content occasionally rendered too narrow (#1702) --- src/littlefoot.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/littlefoot.css b/src/littlefoot.css index e3e362e32..a4d0a0702 100644 --- a/src/littlefoot.css +++ b/src/littlefoot.css @@ -94,6 +94,7 @@ -webkit-overflow-scrolling: touch; background-color: var(--popover-background-color); border-radius: var(--popover-border-radius); + box-sizing: border-box; color: var(--popover-text-color); font-family: var(--popover-font-family, initial); font-size: var(--popover-font-size, initial); @@ -103,6 +104,7 @@ max-height: var(--popover-max-height); overflow: auto; padding: var(--popover-vertical-padding) var(--popover-horizontal-padding); + width: 100%; & img { max-width: 100%;