From 20ee602882b74bab919bfe55a654b9bc7016645d Mon Sep 17 00:00:00 2001 From: kemuru <102478601+kemuru@users.noreply.github.com> Date: Wed, 28 May 2025 01:25:55 +0200 Subject: [PATCH] fix: bug in color loading text in file viewer --- web/src/components/FileViewer/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/src/components/FileViewer/index.tsx b/web/src/components/FileViewer/index.tsx index 39b025a53..e67c0787f 100644 --- a/web/src/components/FileViewer/index.tsx +++ b/web/src/components/FileViewer/index.tsx @@ -24,6 +24,10 @@ const StyledDocViewer = styled(DocViewer)` #pdf-controls { z-index: 3; } + + [class*="--loading"] { + color: ${({ theme }) => theme.secondaryText}; + } `; /**