Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: issue with loading styles for the web version, fixing #2408

Ilian Sapundshievecd64c94518f
diff --git a/src/renderer/app.global.css b/src/renderer/app.global.css
index f29cf494e..3ae9353c2 100644
--- a/src/renderer/app.global.css
+++ b/src/renderer/app.global.css
@@ -8,6 +8,8 @@
@import 'react-image-gallery/styles/css/image-gallery.css';
@import 'swiper/css';
@import 'swiper/css/navigation';
+@import 'rc-table/assets/index.css';
+@import 'react-leaflet-fullscreen/styles.css';
/* Needed to disable border on focused HotKey element */
div[tabindex='-1']:focus {
diff --git a/src/renderer/components/DirectoryTreeView.tsx b/src/renderer/components/DirectoryTreeView.tsx
index bf25bc2bb..7b41a40ce 100644
--- a/src/renderer/components/DirectoryTreeView.tsx
+++ b/src/renderer/components/DirectoryTreeView.tsx
@@ -32,7 +32,6 @@ import { alpha, useTheme } from '@mui/material/styles';
import { locationType } from '@tagspaces/tagspaces-common/misc';
import { cleanTrailingDirSeparator } from '@tagspaces/tagspaces-common/paths';
import Table from 'rc-table';
-import 'rc-table/assets/index.css';
import {
Ref,
forwardRef,