webui: add print styles for full chat printing
Implement CSS print media queries across key webui components to ensure
complete chat conversations can be printed without content truncation.
They're not perfect but better than nothing.
Co-Authored-By: sketch <hello@sketch.dev>
Change-ID: s3815b4291912c721k
diff --git a/webui/src/sketch-app-shell.css b/webui/src/sketch-app-shell.css
index 65b06ae..4c57faa 100644
--- a/webui/src/sketch-app-shell.css
+++ b/webui/src/sketch-app-shell.css
@@ -20,3 +20,17 @@
src: url("./monaco/min/vs/base/browser/ui/codicons/codicon/codicon.ttf")
format("truetype");
}
+
+/* Print styles for full chat printing */
+@media print {
+ html,
+ body {
+ height: auto !important;
+ overflow: visible !important;
+ }
+
+ body {
+ margin: 0;
+ padding: 0;
+ }
+}