diff --git a/app/root.css b/app/root.css index 463c8484..1e388f03 100644 --- a/app/root.css +++ b/app/root.css @@ -67,7 +67,7 @@ html { html.embed { background: transparent; - padding: var(--paddingSides) 0; + padding: 2px; /* search box outline */ overflow: hidden; /* change height of iframe to avoid nested scroll, see embed-example.html */ } @@ -84,6 +84,11 @@ body { line-height: 1.5; } +html.embed body { + max-width: unset; + padding: 0; +} + body > div:last-of-type { min-height: 1px; }