From 6322ca11c9cf3d370e69e4bd1066debe83772aea Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 1 Nov 2025 21:28:31 +0200 Subject: [PATCH] feat(share): improve webview layout --- packages/share-theme/src/styles/content.css | 30 +++++++++++++-------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/packages/share-theme/src/styles/content.css b/packages/share-theme/src/styles/content.css index 07d691cb4..0749e7d09 100644 --- a/packages/share-theme/src/styles/content.css +++ b/packages/share-theme/src/styles/content.css @@ -54,17 +54,25 @@ body:not(.math-loaded) .math-tex { visibility: hidden; } -body.type-webView #main { - max-width: unset; -} +body.type-webView { + #main { + max-width: unset; + padding: 0; + } -body.type-webView #content { - display: flex; - flex-direction: column; - height: 100%; -} + #content { + display: flex; + flex-direction: column; + height: 100%; -iframe.webview { - width: 100%; - flex-grow: 1; + h1 { + display: none; + } + + iframe.webview { + width: 100%; + flex-grow: 1; + border: 0; + } + } } \ No newline at end of file