Compare commits
No commits in common. "bac09b6543f5c12aa6e4453c5ba0a40e11f6a536" and "35ce3c39af7dd92cfa60b347851f2a8249573c41" have entirely different histories.
bac09b6543
...
35ce3c39af
@ -105,26 +105,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.electron-navigation-wrapper {
|
.electron-navigation-wrapper {
|
||||||
z-index: 10000;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
--webkit-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 */
|
/* Native macOS vibrancy — transparent web content over NSVisualEffectView */
|
||||||
@ -966,8 +949,3 @@ span.ant-skeleton-input.ant-skeleton-input-sm.text-skeleton {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.electron-body .ant-modal-wrap,
|
|
||||||
.electron-body .ant-modal-mask {
|
|
||||||
top: 41px;
|
|
||||||
}
|
|
||||||
|
|||||||
@ -66,13 +66,8 @@ const DashboardNavigation = () => {
|
|||||||
icon: <ProductionIcon />
|
icon: <ProductionIcon />
|
||||||
})
|
})
|
||||||
const isMobile = useMediaQuery({ maxWidth: 768 })
|
const isMobile = useMediaQuery({ maxWidth: 768 })
|
||||||
const {
|
const { platform, isElectron, setSidebarViewMenu, isFullScreen } =
|
||||||
platform,
|
useContext(ElectronContext)
|
||||||
isElectron,
|
|
||||||
setSidebarViewMenu,
|
|
||||||
isFullScreen,
|
|
||||||
isMaximized
|
|
||||||
} = useContext(ElectronContext)
|
|
||||||
const { availableUpdate, checkForUpdates } = useAppUpdateContext()
|
const { availableUpdate, checkForUpdates } = useAppUpdateContext()
|
||||||
const mainMenuItems = useMemo(
|
const mainMenuItems = useMemo(
|
||||||
() => [
|
() => [
|
||||||
@ -367,7 +362,7 @@ const DashboardNavigation = () => {
|
|||||||
<>
|
<>
|
||||||
{isElectron ? (
|
{isElectron ? (
|
||||||
<Flex
|
<Flex
|
||||||
className={`ant-menu-horizontal electron-navigation-wrapper ant-menu-light ${isFullScreen || (isMaximized && isOtherApp) ? 'electrobun-webkit-app-region-no-drag' : 'electrobun-webkit-app-region-drag'}`}
|
className={`ant-menu-horizontal electron-navigation-wrapper ant-menu-light ${!isFullScreen ? 'electrobun-webkit-app-region-drag' : 'electrobun-webkit-app-region-no-drag'}`}
|
||||||
style={{ lineHeight: '40px', padding: '0 2px 0 2px' }}
|
style={{ lineHeight: '40px', padding: '0 2px 0 2px' }}
|
||||||
>
|
>
|
||||||
{navigationContents}
|
{navigationContents}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user