From 6c0f5578d91e5379c8792c839c9f2b44977def76 Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Fri, 9 Feb 2024 16:24:21 +0100 Subject: [PATCH] fix: remove scrollbar in template --- frontend/src/js/ui/components/print-preview.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/js/ui/components/print-preview.ts b/frontend/src/js/ui/components/print-preview.ts index 4ba9b4c..9027543 100644 --- a/frontend/src/js/ui/components/print-preview.ts +++ b/frontend/src/js/ui/components/print-preview.ts @@ -33,19 +33,19 @@ const pre = ` line-height: 1; } - ::-webkit-scrollbar { + #content::-webkit-scrollbar { width: 0; } - ::-webkit-scrollbar-track { + #content::-webkit-scrollbar-track { background: #f1f1f1; } - ::-webkit-scrollbar-thumb { + #content::-webkit-scrollbar-thumb { background: #c2c2c2; } - ::-webkit-scrollbar-thumb:hover { + #content::-webkit-scrollbar-thumb:hover { background: #d1d1d1; }