From 6288114e782ed37f87eb3d0415f6c74d2cd9096b Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 12 Feb 2026 09:46:25 +0700 Subject: [PATCH] fix --- .../components/DialogPreviewCommand.vue | 278 +++++++++--------- 1 file changed, 145 insertions(+), 133 deletions(-) diff --git a/src/modules/18_command/components/DialogPreviewCommand.vue b/src/modules/18_command/components/DialogPreviewCommand.vue index 836abb6bd..23d4b86a7 100644 --- a/src/modules/18_command/components/DialogPreviewCommand.vue +++ b/src/modules/18_command/components/DialogPreviewCommand.vue @@ -1,5 +1,5 @@ @@ -431,4 +423,24 @@ watch( border: 1px solid #e9eaec; background-color: #e9eaec61; } + +/* สไตล์เพื่อให้ PDF ดูเหมือนวางบนโต๊ะ */ +.pdf-viewer-wrapper { + background-color: white; + width: 100%; + max-width: 900px; /* จำกัดความกว้างเพื่อความสวยงามบนจอใหญ่ */ + transition: all 0.3s ease; +} + +/* ปรับแต่ง Scrollbar ให้ดูสะอาดตา */ +.scroll::-webkit-scrollbar { + width: 8px; +} +.scroll::-webkit-scrollbar-thumb { + background: #bdbdbd; + border-radius: 4px; +} +.scroll::-webkit-scrollbar-thumb:hover { + background: #9e9e9e; +}