diff --git a/assets/stylesheets/App.css b/assets/stylesheets/App.css
index 7ab93d0..f4ab48f 100644
--- a/assets/stylesheets/App.css
+++ b/assets/stylesheets/App.css
@@ -105,9 +105,26 @@
}
.electron-navigation-wrapper {
+ z-index: 10000;
user-select: none;
--webkit-user-select: none;
- z-index: 10000;
+}
+
+.electron-body * {
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -o-user-select: none;
+ user-select: none;
+}
+
+.electron-body .ant-descriptions-item-content *,
+.electron-body .ant-table-cell * {
+ -webkit-user-select: text;
+ -khtml-user-select: text;
+ -moz-user-select: text;
+ -o-user-select: text;
+ user-select: text;
}
/* Native macOS vibrancy — transparent web content over NSVisualEffectView */
@@ -949,3 +966,8 @@ span.ant-skeleton-input.ant-skeleton-input-sm.text-skeleton {
width: 100%;
height: 100%;
}
+
+.electron-body .ant-modal-wrap,
+.electron-body .ant-modal-mask {
+ top: 41px;
+}
diff --git a/src/components/Dashboard/common/DashboardNavigation.jsx b/src/components/Dashboard/common/DashboardNavigation.jsx
index 3253d6b..f0ddfb1 100644
--- a/src/components/Dashboard/common/DashboardNavigation.jsx
+++ b/src/components/Dashboard/common/DashboardNavigation.jsx
@@ -66,8 +66,13 @@ const DashboardNavigation = () => {
icon:
})
const isMobile = useMediaQuery({ maxWidth: 768 })
- const { platform, isElectron, setSidebarViewMenu, isFullScreen } =
- useContext(ElectronContext)
+ const {
+ platform,
+ isElectron,
+ setSidebarViewMenu,
+ isFullScreen,
+ isMaximized
+ } = useContext(ElectronContext)
const { availableUpdate, checkForUpdates } = useAppUpdateContext()
const mainMenuItems = useMemo(
() => [
@@ -362,7 +367,7 @@ const DashboardNavigation = () => {
<>
{isElectron ? (
{navigationContents}