From 445c0a9ce91e821443d9cccafe3a4c2013a16cff Mon Sep 17 00:00:00 2001 From: bumushi <1934002531@qq.com> Date: Mon, 20 Jul 2026 17:50:55 +0800 Subject: [PATCH] fix(ui): remove gray background and border-radius in print mode - Remove the default dark background color and rounded corners of the resume container in print mode. - Add defensive hiding for floating windows injected by third-party browser extensions (e.g., clipper, translation tools). - Ensure the exported PDF background remains pure white without extraneous rendering artifacts. --- site/src/assets/css/edit.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/site/src/assets/css/edit.css b/site/src/assets/css/edit.css index 3902d026..f8d00d50 100644 --- a/site/src/assets/css/edit.css +++ b/site/src/assets/css/edit.css @@ -38,6 +38,14 @@ margin: 0; } + body { + background-color: white !important; + } + + body > *:not(#__nuxt) { + display: none !important; + } + .edit-page { height: auto; } @@ -59,7 +67,9 @@ } .pane-container { - border: none; + border: none !important; + background: transparent !important; + border-radius: 0 !important; } .vue-zoom {